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 <kilobyte@angband.pl>) git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@601 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
cc6cf14b6f
commit
ae54e1ae83
2
ttyrec.c
2
ttyrec.c
|
@ -433,6 +433,8 @@ dooutput (int max_idle_time)
|
||||||
galt = 1;
|
galt = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
else if (obuf[i] == 14 || obuf[i] == 15)
|
||||||
|
continue;
|
||||||
out += wctoutf8(out, charset_cp437[(unsigned char)obuf[i]]);
|
out += wctoutf8(out, charset_cp437[(unsigned char)obuf[i]]);
|
||||||
}
|
}
|
||||||
h.len = len = out - ubuf;
|
h.len = len = out - ubuf;
|
||||||
|
|
Loading…
Reference in New Issue