diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-19 18:55:24 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-19 18:55:24 -0300 |
commit | b003636958377ecad3ee5df4ca2de8717c4530b9 (patch) | |
tree | 187106d1eae07e5f1dfd8dfb3a63d288863f3e8a /CRT.h | |
parent | 3e93f9b85243e1edf1d3b73658fdf3f8a5b13032 (diff) |
Support for NCurses 6.0 and mouse wheel
Diffstat (limited to 'CRT.h')
-rw-r--r-- | CRT.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -20,6 +20,9 @@ in the source distribution for its full text. #define Cyan COLOR_CYAN #define White COLOR_WHITE +#define KEY_WHEELUP KEY_F(20) +#define KEY_WHEELDOWN KEY_F(21) + //#link curses #include <stdbool.h> @@ -130,6 +133,8 @@ extern int CRT_cursorX; extern int CRT_scrollHAmount; +extern int CRT_scrollWheelVAmount; + char* CRT_termType; // TODO move color scheme to Settings, perhaps? |