Ticket #1668: Screen and input corruption under xterm [non-UTF]
commitd21917048cf290dc227c7e5e959778c2da3362fa
authorGoTaR <gotar@poczta.onet.pl>
Sun, 27 Feb 2011 14:50:32 +0000 (27 14:50 +0000)
committerSlava Zanko <slavazanko@gmail.com>
Fri, 8 Apr 2011 09:55:53 +0000 (8 12:55 +0300)
treedebfbacee9814a01f03d589a3884f3e38494dfe5
parent76a82243be30b48987e22086df5c217f61a18011
Ticket #1668: Screen and input corruption under xterm [non-UTF]

The problem:
    viewing binary files contain char 0x9A leads to massive screen corruption and Search
    dialog pops up with 1;2c search string (multiple times depending on actual screen contents).
    So it looks like the file 'presses' F7 or / and shift-right_arrow for every specified
    character combination occurrence. In case of bigger files it's impossible to exit from
    such viewer, as search dialog keeps popping up after closing.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/tty/tty-slang.c
src/filemanager/midnight.c