mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
cursor blink: move reset to pty input
This commit is contained in:
parent
c22ae98729
commit
81840b4e8e
2 changed files with 3 additions and 3 deletions
3
input.c
3
input.c
|
|
@ -203,9 +203,6 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevent blinking while typing */
|
|
||||||
term_cursor_blink_restart(term);
|
|
||||||
|
|
||||||
key += 8;
|
key += 8;
|
||||||
bool should_repeat = xkb_keymap_key_repeats(wayl->kbd.xkb_keymap, key);
|
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);
|
xkb_keysym_t sym = xkb_state_key_get_one_sym(wayl->kbd.xkb_state, key);
|
||||||
|
|
|
||||||
|
|
@ -149,6 +149,9 @@ fdm_ptmx(struct fdm *fdm, int fd, int events, void *data)
|
||||||
|
|
||||||
vt_from_slave(term, buf, count);
|
vt_from_slave(term, buf, count);
|
||||||
|
|
||||||
|
/* Prevent blinking while typing */
|
||||||
|
term_cursor_blink_restart(term);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We likely need to re-render. But, we don't want to
|
* We likely need to re-render. But, we don't want to
|
||||||
* do it immediately. Often, a single client operation
|
* do it immediately. Often, a single client operation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue