From 7c6686221f328e9399eb679c246662c801b2356b Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 8 Oct 2020 19:55:32 +0200 Subject: bell: optionally render margins in red when receiving BEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- vt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vt.c') 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': -- cgit v1.3