[Top][All Lists]

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

Grabbing Escape key

From: Dave Wood
Subject: Grabbing Escape key
Date: Wed, 14 Jan 2009 03:05:57 +0000
User-agent: Mutt/1.5.18 (2008-12-10)

How do I use the escape key in an input routine? I looked in ncurses.h but
didn't see anything there except ESCDELAY.

I tried using 1 as a keycode but that doesn't seem to be working:

        int c = getch();
     case 1:

Any help as always appreciated.

reply via email to

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