ctrl+q
This commit is contained in:
parent
05cfbe7817
commit
cfafe0498e
@ -4,6 +4,7 @@
|
||||
#include <ncurses.h>
|
||||
#include <readline/readline.h>
|
||||
|
||||
extern bool do_execute;
|
||||
size_t entry_lines;
|
||||
bool is_input_changed = true;
|
||||
|
||||
@ -169,6 +170,10 @@ void tui_take_input(void) {
|
||||
}
|
||||
is_input_changed = true;
|
||||
} break;
|
||||
case CTRL('q'): {
|
||||
do_execute = false;
|
||||
do_run = false;
|
||||
} break;
|
||||
case '\r': {
|
||||
do_run = false;
|
||||
} break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user