peterbrittain / asciimatics

A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Apache License 2.0
3.62k stars 237 forks source link

ESC key response is slower than other keys. #289

Closed uthline closed 3 years ago

uthline commented 3 years ago

Describe the bug ESC key response is slower than other keys like a,b,c, BACKSPACE, SPACE, ... .

To Reproduce add print to process_event function run application type a,b,c, and ESC

Expected behavior print log right after type the keyboard. but when press the ESC key, log was printed after about 1 second.

System details (please complete the following information):

peterbrittain commented 3 years ago

https://asciimatics.readthedocs.io/en/latest/troubleshooting.html#there-s-a-big-delay-when-i-press-escape

uthline commented 3 years ago

@peterbrittain Thank you for quick response.