aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--input.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9caf6c82..ee5b8da1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/input.c b/input.c
index ab177bf8..6013634e 100644
--- a/input.c
+++ b/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: