diff --git a/docs/changelog.markdown b/docs/changelog.markdown index 0368b5139..f51e3f7ef 100644 --- a/docs/changelog.markdown +++ b/docs/changelog.markdown @@ -47,6 +47,7 @@ brief notes about them may accumulate here. * New: `adjust_window_size_when_changing_font_size` option to control whether changing the font size adjusts the dimensions of the window (true) or adjusts the number of terminal rows/columns (false). The default is `true`. [#431](https://github.com/wez/wezterm/issues/431) * macOS: we no longer use MetalANGLE to render the gui; it was short lived as macOS Big Sur now uses Metal in its CGL implementation. Support for using MetalANGLE is still present if the dylib is found on startup, but we no longer ship the dylib. * Windows: when pasting text, ensure that the text has CRLF line endings unless bracketed paste is enabled. This imperfect heuristic helps to keep multi-line pastes on multiple lines when using Windows console applications and to avoid interleaved blank lines when using unix applications. [#411](https://github.com/wez/wezterm/issues/411) +* New: [ClearScrollback](config/lua/keyassignment/ClearScrollback.html) now accepts a parameter to control whether the viewport is cleared along with the scrollback. Thanks to [@dfrankland](https://github.com/dfrankland)! ### 20201101-103216-403d002d diff --git a/docs/config/lua/keyassignment/ClearScrollback.md b/docs/config/lua/keyassignment/ClearScrollback.md index 3d10391e0..0e04bb864 100644 --- a/docs/config/lua/keyassignment/ClearScrollback.md +++ b/docs/config/lua/keyassignment/ClearScrollback.md @@ -1,8 +1,11 @@ # ClearScrollback Clears the lines that have scrolled off the top of the viewport, resetting -the scrollbar thumb to the full height of the window, and additionally the -viewport depending on the argument: +the scrollbar thumb to the full height of the window. + +*since: nightly builds only* + +Added a parameter that allows additionally clear the viewport: ```lua return {