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

Escape sequences and ncurses




Ok, I know this is super-basic, but I'm an idiot...

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.

Thanks,

-JL

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