OmegaRPG icon indicating copy to clipboard operation
OmegaRPG copied to clipboard

Removed escape delay for ncurses builds

Open Lyle-Tafoya opened this issue 1 year ago • 0 comments

For whatever reason, the default behavior in ncurses is for there to be a delay when the escape key is hit. I think it has something to do with differentiating between the escape key and escape-codes on legacy terminal hardware where not all data is always received immediately. I don't think this is necessary on modern hardware. I have had this delay disabled in my fork of Omega for awhile now with no ill effect. It's wrapped in an #ifndef PDCURSES, because PDCurses does not have this function and already defaults to zero delay.

Lyle-Tafoya avatar Dec 23 '23 23:12 Lyle-Tafoya