mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
Revert "input: remove unneeded(?) term_reset_view() calls"
This reverts commit 739c5cf7f0.
The original commit stated:
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).
But, client output doesn't cause a scrollback/view reset.
This commit is contained in:
parent
fc961bb30e
commit
1bc9835246
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) {
|
||||
selection_from_clipboard(term, serial);
|
||||
//term_reset_view(term);
|
||||
term_reset_view(term);
|
||||
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_reset_view(term);
|
||||
term_reset_view(term);
|
||||
selection_cancel(term);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue