From cb6030f64b770d07108fb0d42d11f043aa3defaf Mon Sep 17 00:00:00 2001 From: uphere Date: Sat, 3 Dec 2016 11:44:13 +0000 Subject: Add C-m -> Return bind C-m is often bound to return and it's jarring to have all the other keybinds but not this one --- lib/renderers/curses/curses.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/renderers/curses/curses.c') diff --git a/lib/renderers/curses/curses.c b/lib/renderers/curses/curses.c index 253089b..3e75d6e 100644 --- a/lib/renderers/curses/curses.c +++ b/lib/renderers/curses/curses.c @@ -327,6 +327,7 @@ poll_key(const struct bm_menu *menu, uint32_t *unicode) return BM_KEY_SHIFT_RETURN; case 10: /* Return */ + case 13: /* C-m */ terminate(); return BM_KEY_RETURN; -- cgit v1.2.3-70-g09d2