mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-05 07:15:30 -04:00
input: remove unneeded(?) term_reset_view() calls
Not sure why these were added here; they don't appear to be needed (we're writing to the client - it's up to the client to echo stuff, in which case we redraw as usual).
This commit is contained in:
parent
cebeb390e4
commit
739c5cf7f0
1 changed files with 2 additions and 2 deletions
4
input.c
4
input.c
|
|
@ -230,7 +230,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
||||||
|
|
||||||
else if (sym == XKB_KEY_V) {
|
else if (sym == XKB_KEY_V) {
|
||||||
selection_from_clipboard(term, serial);
|
selection_from_clipboard(term, serial);
|
||||||
term_reset_view(term);
|
//term_reset_view(term);
|
||||||
found_map = true;
|
found_map = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -324,7 +324,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
||||||
term_to_slave(term, buf, count);
|
term_to_slave(term, buf, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
term_reset_view(term);
|
//term_reset_view(term);
|
||||||
selection_cancel(term);
|
selection_cancel(term);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue