From 354bf243ff0b3e93e890f3ee34cb85ba95135e8d Mon Sep 17 00:00:00 2001 From: davidpkj Date: Wed, 15 Feb 2023 10:45:48 +0100 Subject: Patch: visualbell2-basic-2020-05-13 --- config.def.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.def.h') 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"; -- cgit v1.2.3