chiark / gitweb /
Set curses nodelay mode.
authorSimon Tatham <anakin@pobox.com>
Wed, 6 Dec 2023 06:28:28 +0000 (06:28 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 6 Dec 2023 06:28:28 +0000 (06:28 +0000)
commit4563ff8664059e4577a88ed493e40c6870903761
treecf29eb69bb7ba5cb9eecf037c3b6fb34f3bb2951
parent572045020f1918244fa908bb837b8fe4467e9b78
Set curses nodelay mode.

Otherwise, pressing M-g (in pterm, which curses will interpret as ESC
g, just as I'd want it to) delivers the ESC, but leaves the g in
curses's internal buffer, which we don't empty before diving back into
the select loop.
cursesclient.py