mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-05-05 06:47:25 -04:00
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
This commit is contained in:
parent
7e0cfd46c6
commit
7c6686221f
10 changed files with 95 additions and 2 deletions
3
vt.c
3
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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue