Hello all,

I am having trouble with getchar() detecting <ESC>.  If I use getchar(0) or
getchar(1), it will not pick up an <ESC> keystroke.  You can replicate this by
using the command:

  :sleep 3 | echo getchar(0)

... and pressing <ESC> quickly before the getchar() function is called.  In GUI
Vim, I correctly see 27 returned by getchar(0), but in Terminal Vim, getchar(0)
is returning '0', even though <ESC> has been pressed.  Is this a bug in Vim?

regards,
Peter



                
____________________________________________________ 
On Yahoo!7 
Answers:  25 million answers and counting. Learn something new today
http://www.yahoo7.com.au/answers

Reply via email to