You are not logged in.

#1 2011-06-26 11:32:36

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

[curses - C/C++] combine keys

Hi,

I recently felled in love with C/C++ - curses, but when building the interface I got to know that not every key combination is included/listed in curses.h.

Does someone know how to achieve a shift+key, where key is out of [a-z]. Or more precise, how can I fetch capital letters from keyboard input :-)

curses.h just gives the ability of using shift + (end,up,down,...) but no letters.

Thanks in advance!!

L-K

EDIT:

That was too easy...just compare input char to 'H', end Bob's ya uncle.
I neen more patience, sorry for this post.

Last edited by linux-ka (2011-06-26 11:36:05)

Offline

Board footer

Powered by FluxBB