From 9ae1c0c9da4739064ef2da5cb2c95dd430e5b013 Mon Sep 17 00:00:00 2001 From: cancel Date: Sat, 4 Jan 2020 03:49:13 +0900 Subject: [PATCH] Add ctrl+o to open file dialog --- tui_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tui_main.c b/tui_main.c index 9a92637..a0f7eb6 100644 --- a/tui_main.c +++ b/tui_main.c @@ -3037,6 +3037,9 @@ int main(int argc, char** argv) { // in the menus or *not* in bracketed paste mode. case CTRL_PLUS('q'): goto quit; + case CTRL_PLUS('o'): + push_open_form(file_name.str); + break; case KEY_UP: case CTRL_PLUS('k'): ged_dir_input(&ged_state, Ged_dir_up, 1);