diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-02-15 10:45:48 +0100 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-02-15 11:03:30 +0100 |
commit | 354bf243ff0b3e93e890f3ee34cb85ba95135e8d (patch) | |
tree | afee318346528eb02e13e0045840188427bbc38d /config.def.h | |
parent | b584a094eeb9fc96cc066471e367da6807ba24bf (diff) |
Patch: visualbell2-basic-2020-05-13
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index aa8dfd0..37b85d1 100644 --- a/config.def.h +++ b/config.def.h @@ -73,6 +73,14 @@ static unsigned int cursorthickness = 2; */ static int bellvolume = 0; +/* visual-bell timeout in ms (0 to disable visual-bell) */ +static int vbelltimeout = 150; + +/* choose predefined visual-bell cells to inverse, or define your own logic */ +#define VBCELL x==0 || x==right || y==0 || y==bottom /* border */ +// #define VBCELL 1 /* all cells - whole screen */ +// #define VBCELL y==bottom && x>right-2 /* bottom-right */ + /* default TERM value */ char *termname = "st-256color"; |