/* * Define ESC seqences to use for scroll events. * Use "cat -v" to figure out favorit key combination. */ #define KB_SCROLL_UP "\033[5;2~" /* [Shift] + [PageUP] */ #define KB_SCROLL_DOWN "\033[6;2~" /* [Shift] + [PageDown] */ #define MS_SCROLL_UP "\031" /* mouse wheel up */ #define MS_SCROLL_DOWN "\005" /* mouse wheel Down */