diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-16 20:33:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-16 20:33:44 +0000 |
| commit | 66b948750e8faaf97a1e2ef673132f8e19ed4e7a (patch) | |
| tree | e76a1b9fd20bd2a23a4fbe2e0e1a0d869915868a | |
| parent | term: disable cursor blink on unfocus, and re-enable on focus (diff) | |
input: restart cursor blink on keyboard input
This makes the cursor stay unblinking while typing.
| -rw-r--r-- | input.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
