1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-17 17:57:28 +03:00
wezterm/wezterm-gui
Leszek Swirski fef52df952
Add a CloseWithoutClear copy mode key assignment (#4924)
* Add a CloseWithoutClear copy mode key assignment

Closing the copy overlay currently unconditionally clears the viewport,
in particular resetting scroll. For the search overlay, we don't
necessarily want to scroll back to the prompt after finding a match --
indeed, the old search overlay (which didn't use copy mode) had this
behaviour.

Add a CloseWithoutClear key assignment which has this desired behaviour,
and make it the default for ESC in search mode.

* Change CloseWithoutClear into normal Close, and add ResetViewport

* Remove ResetViewport, add helper for keys
2024-07-22 08:06:54 -07:00
..
src Add a CloseWithoutClear copy mode key assignment (#4924) 2024-07-22 08:06:54 -07:00
build.rs Check for the presence of CARGO_BUILD_TARGET_DIR env variable (#5430) 2024-06-17 08:25:57 -07:00
Cargo.toml switch all fuzzy matches to nucleo 2024-07-14 11:03:54 -07:00