mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: restart cursor blink on keyboard input
This makes the cursor stay unblinking while typing.
This commit is contained in:
parent
f4e5baa123
commit
66b948750e
1 changed files with 3 additions and 0 deletions
3
input.c
3
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue