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

Re: Escape sequences and ncurses

> > I'm using ncurses, and I'm checking for input with getch(), but I want to
> > know when someone types something funky (like an arrow key).
> > 
> > How do I check to see if the value returned by getch() includes an escape
> > sequence? It's an "int" value, so it oughta be simple, but I must be 
> > missing something.
> man curs_getch

Yeah, but then you have to be in something called "keypad" mode, which I'd
prefer to avoid.

I'll keep pluggin'...


To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.