From be680955d768c937413e78322be20950a2df147e Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 10 Jul 2021 22:02:23 -0700 Subject: [PATCH] scroll to bottom on paste closes: https://github.com/wez/wezterm/issues/931 --- docs/changelog.md | 1 + wezterm-gui/src/termwindow/clipboard.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 50fd2c56b..fc75c9b70 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -53,6 +53,7 @@ As features stabilize some brief notes about them will accumulate here. * Fixed: allow multuple `IdentityFile` lines in an ssh_config block to be considered * Improved: implement braille characters as custom glyphs, to have perfect rendering when `custom_block_glyphs` is enabled. Thanks to [@bew](http://github.com/bew)! * Fixed: Mod3 is no longer treater as SUPER on X11 and Wayland [#933](https://github.com/wez/wezterm/issues/933) +* Fixed: paste now respects `scroll_to_bottom_on_input`. [#931](https://github.com/wez/wezterm/issues/931) ### 20210502-154244-3f7122cb diff --git a/wezterm-gui/src/termwindow/clipboard.rs b/wezterm-gui/src/termwindow/clipboard.rs index e86422dde..80bf00fed 100644 --- a/wezterm-gui/src/termwindow/clipboard.rs +++ b/wezterm-gui/src/termwindow/clipboard.rs @@ -110,5 +110,6 @@ impl TermWindow { } }) .detach(); + self.maybe_scroll_to_bottom_for_input(&pane); } }