From ae54e1ae83997a7d42183e375c4aec3d7c0d94c2 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 3 Oct 2011 15:36:03 +0000 Subject: [PATCH] Ignore some more spurious vt100 G-charset switches in IBM mode. Apparently CAO's ncurses emits it while mine doesn't, and this breaks some terminals, including gnome-terminal but not PuTTY. (Adam Borowski ) git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@601 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- ttyrec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ttyrec.c b/ttyrec.c index ac93161..720589d 100644 --- a/ttyrec.c +++ b/ttyrec.c @@ -433,6 +433,8 @@ dooutput (int max_idle_time) galt = 1; continue; } + else if (obuf[i] == 14 || obuf[i] == 15) + continue; out += wctoutf8(out, charset_cp437[(unsigned char)obuf[i]]); } h.len = len = out - ubuf; -- 2.47.3