mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -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
|
|
@ -80,6 +80,8 @@
|
|||
* Rendering of CSD borders when `csd.border-width > 0` and desktop
|
||||
scaling has been enabled.
|
||||
* Failure to launch when `exec(3)’:ed with an empty argv.
|
||||
* Pasting from the primary clipboard (mouse middle clicking) did not
|
||||
reset the scrollback view to the bottom.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
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