Related questions
gcc /usr/bin/ld: error: cannot find -lncurses
I am running Ubuntu 12.04 and I'm currently working on a project involving C, OpenGL, a teapot and input methods.
The problem started when I decided to have arrow keys as input. I checked to see the key codes for arrow …
ncurses multi colors on screen
I want to make a menu with ncurses.h and more than one color.
I mean something like this:
┌────────────────────┐
│░░░░░░░░░░░░░░░░░░░░│ <- color 1
│▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ <- color 2
└────────────────────┘
But if I use init_pair(), attron()and attroff() the color of the whole screen …