bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why does Esc take so long to be detected by getch()?


From: Steve Litt
Subject: Why does Esc take so long to be detected by getch()?
Date: Tue, 11 May 2004 19:14:40 -0400
User-agent: KMail/1.5.3

Hi all,

First, is there a way I could subscribe to address@hidden so that 
moderation isn't necessary?

Second, I'm using F9 for the accept key on my form, and Esc for the bail key. 
Trouble is, when I press Esc, the getch() function takes almost 2 seconds to 
complete. Any other key is instantaneous.

I'd really like Esc to stand for "bail out of this form, I don't want to 
complete it". Esc is completely intuitive for that functionality. But the 2 
second delay will doubtlessly leave the user in vertigo.

Any ideas how to speed up processing of the Esc key?

SteveT

Steve Litt
Founder and acting president: GoLUG
http://www.golug.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]