From 2a1aa4efce2b3f2301261892cc766a2f80fcbbd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 3 Aug 2012 09:37:05 -0400 Subject: [PATCH] terminal: Don't output @ for ASCII NUL Fixes visual bell in screen. --- clients/terminal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/terminal.c b/clients/terminal.c index dd35cebd..782f087b 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -1802,6 +1802,8 @@ handle_special_char(struct terminal *terminal, char c) case '\x0F': /* SI */ terminal->cs = terminal->g0; break; + case '\0': + break; default: return 0; }