aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/input.c b/input.c
index 1a42e5ee..26f62629 100644
--- a/input.c
+++ b/input.c
@@ -444,6 +444,10 @@ execute_binding(struct seat *seat, struct terminal *term,
unicode_mode_activate(seat);
return true;
+ case BIND_ACTION_QUIT:
+ term_shutdown(term);
+ return true;
+
case BIND_ACTION_SELECT_BEGIN:
selection_start(
term, seat->mouse.col, seat->mouse.row, SELECTION_CHAR_WISE, false);