File | Lines added | Lines deleted |
---|---|---|
src/hstr.c | 2 | 2 |
File src/hstr.c changed (mode: 100644) (index 1e9a1e9..1e036fe) | |||
47 | 47 | #define K_TAB 9 | #define K_TAB 9 |
48 | 48 | ||
49 | 49 | #define K_ENTER 10 | #define K_ENTER 10 |
50 | #define K_ALT 27 | ||
50 | #define K_ESC 27 | ||
51 | 51 | ||
52 | #define DEBUG_KEYS | ||
53 | 52 | #ifdef DEBUG_KEYS | #ifdef DEBUG_KEYS |
54 | 53 | #define LOGKEYS(Y,KEY) mvprintw(Y, 0, "Key: '%3d' / Char: '%c'", KEY, KEY); clrtoeol() | #define LOGKEYS(Y,KEY) mvprintw(Y, 0, "Key: '%3d' / Char: '%c'", KEY, KEY); clrtoeol() |
55 | 54 | #else | #else |
... | ... | char *selection_loop(HistoryItems *history) | |
461 | 460 | done = TRUE; | done = TRUE; |
462 | 461 | break; | break; |
463 | 462 | case K_CTRL_G: | case K_CTRL_G: |
463 | case K_ESC: | ||
464 | 464 | result=""; | result=""; |
465 | 465 | history_clear_dirty(); | history_clear_dirty(); |
466 | 466 | done=TRUE; | done=TRUE; |