Closed redchair123 closed 11 years ago
This is because the terminal waits to see if it is just an ESC/ALT press or is actually a key combo press (e.g. ESC-1, ALT-F, etc.). This behavior is configurable by ncurses though.
I suppose I could expose a function to change this behavior.
I suppose I could expose a function to change this behavior.
That would be ideal.
@Niggler Added in 87d2a8e
For some reason, processing the escape key is much slower than processing other keys
To demonstrate: on line 90 of the irc.client.js there is a line
Replace that with
(7 matches for control G).
the escape is processed a full second slower than the ^G.
To verify that this is indeed not a quirk in osx, I tested another ncurses application that uses the native bindings (sc: http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-7.16.lsm) and the delay doesn't show up there.