aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/input.c b/input.c
index 11b46cf6..ca7d0ec2 100644
--- a/input.c
+++ b/input.c
@@ -282,6 +282,11 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
search_begin(term);
goto maybe_repeat;
}
+
+ else if (sym == XKB_KEY_Return) {
+ term_spawn_new(term);
+ goto maybe_repeat;
+ }
}