Ticket #1792 (new defect)

Opened 10 years ago

charterm event not ready when bytes are available

Reported by: b2coutts Owned by: neil
Priority: major Milestone:
Component: neil/charterm.plt Keywords:
Cc: Version: (3 1)
Racket Version:


While attempting to sync on the charterm event with a timeout, by mashing keys very quickly, it is possible to put charterm in a state where the charterm event is not ready for synchronization, and yet (charterm-byte-ready?) produces #t. Strangely, this only occurs when (charterm-screen-size) is called after sync/timeout.

Attached is a small program that causes this behaviour; it can be induced by simply mashing keys as fast as possible. See the comment at the beginning of the program.

Note: See TracTickets for help on using tickets.