Is there any way to detect horizontal scrolling for a mouse/touchpad in ncurses?
I’m printing a list of files to a pad using the ncurses library in C. I’ve already managed to code vertical scrolling for both up and down directions by detecting mouse event. Is there some way to detect horizontal scrolling as well?
Tracking which terminal to call endwin on in ncurses
According to the man page for curs_initscr:
ncurses C home and end keys
I’m doing a simple menu with ncurses. It works for cygwin, but not in linux – home or end keys end the program immediately. I think handling of excape (27) has something to do with it because if I don’t handle it in linux home and end have no effect. in cygwin – home, end and esc work fine (of course escape usually works which delay as it aways did in linux).
ncurses cannot display wide characters with colour
attempting to print a unicode character
does not work
here is my code