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:
Daniel Eklöf 2019-11-04 14:10:37 +01:00
parent cebeb390e4
commit 739c5cf7f0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);
}
}