aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-08 17:55:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-08 17:55:32 +0000
commit7c6686221f328e9399eb679c246662c801b2356b (patch)
tree027ccece5f9d7c96af5025c740606155f19c8bc6 /vt.c
parentdoc: foot.1: remove ‘--’ from example command line (diff)
bell: optionally render margins in red when receiving BEL
Add anew config option, ‘bell=none|set-urgency’. When set to ‘set-urgency’, the margins will be painted in red (if the window did not have keyboard focus). This is intended as a cheap replacement for the ‘urgency’ hint, that doesn’t (yet) exist on Wayland. Closes #157
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vt.c b/vt.c
index 6cd5ead7..ed26da73 100644
--- a/vt.c
+++ b/vt.c
@@ -124,8 +124,7 @@ action_execute(struct terminal *term, uint8_t c)
case '\a':
/* BEL - bell */
- // LOG_INFO("BELL");
- // term_flash(term, 50);
+ term_bell(term);
break;
case '\b':