summaryrefslogtreecommitdiffhomepage
path: root/tests/git@git.abendless.com:/srv/git
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-25 21:13:47 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-25 21:13:47 -0600
commit6ea4a5ac01d04a3ed857f37634265bca25b89edb (patch)
tree69b9e9156b5051fb3a99646835cf4ca1699fd645 /tests/git@git.abendless.com:/srv/git
parent9dd085c8ed0853f4d96b4de0b9aab71be537240e (diff)
downloadztop-6ea4a5ac01d04a3ed857f37634265bca25b89edb.tar.gz
tui: translate input from EBCDIC, restore the cursor
The tty converts output but not input, so keys and cursor reports arrive as EBCDIC in raw mode: 'q' is 0x98 and the report starts 0x27 0x5B. Translate each read with __e2a_l before decoding, and make the code that looks for ESC use the ASCII 0x1b it sees afterwards. Leaving the screen also forgot to show the cursor again.
Diffstat (limited to 'tests/git@git.abendless.com:/srv/git')
0 files changed, 0 insertions, 0 deletions