diff options
| -rw-r--r-- | ask.c | 4 | ||||
| -rw-r--r-- | bterm.h | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -236,10 +236,10 @@ static char *get_input(FILE *in, FILE *out, const char *prompt, const char *init buf = NULL; picked = NULL; goto finished; - case KEY_CTRL_A: + case KEY_CTRL_A: case KEY_HOME: b = 0; break; - case KEY_CTRL_E: + case KEY_CTRL_E: case KEY_END: b = len; break; case KEY_CTRL_U: { @@ -162,6 +162,7 @@ int bgetkey(FILE *in, int *mouse_x, int *mouse_y, int timeout) case '~': switch (numcode) { case 3: return KEY_DELETE; + case 4: return KEY_END; case 5: return KEY_PGUP; case 6: return KEY_PGDN; case 15: return KEY_F5; |
