From 66b948750e8faaf97a1e2ef673132f8e19ed4e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 16 Dec 2019 21:33:44 +0100 Subject: [PATCH] input: restart cursor blink on keyboard input This makes the cursor stay unblinking while typing. --- input.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/input.c b/input.c index 11b46cf6..8d05a842 100644 --- a/input.c +++ b/input.c @@ -203,6 +203,9 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, return; } + /* Prevent blinking while typing */ + term_cursor_blink_restart(term); + key += 8; bool should_repeat = xkb_keymap_key_repeats(wayl->kbd.xkb_keymap, key); xkb_keysym_t sym = xkb_state_key_get_one_sym(wayl->kbd.xkb_state, key);