mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: reset view when pasting from primary
We’re already doing this for keyboard input, and regular clipboard pastes.
This commit is contained in:
parent
e37edba387
commit
29c31054a1
2 changed files with 3 additions and 0 deletions
1
input.c
1
input.c
|
|
@ -145,6 +145,7 @@ execute_binding(struct seat *seat, struct terminal *term,
|
|||
|
||||
case BIND_ACTION_PRIMARY_PASTE:
|
||||
selection_from_primary(seat, term);
|
||||
term_reset_view(term);
|
||||
return true;
|
||||
|
||||
case BIND_ACTION_SEARCH_START:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue