mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Fix the clear_terminal scrollback action also clearing screen
This commit is contained in:
parent
cbefc72a7e
commit
b0c9262652
2 changed files with 3 additions and 1 deletions
|
|
@ -103,6 +103,8 @@ Detailed list of changes
|
|||
|
||||
- macOS: Add menu items to the Edit menu to clear the screen and scrollback
|
||||
|
||||
- Fix the :ac:`clear_terminal` scrollback action also clearing screen, not just scrollback
|
||||
|
||||
0.38.1 [2024-12-26]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -1264,7 +1264,7 @@ class Boss:
|
|||
w.clear_screen(reset=True, scrollback=True)
|
||||
elif action == 'scrollback':
|
||||
for w in windows:
|
||||
w.clear_screen(scrollback=True)
|
||||
w.screen.clear_scrollback()
|
||||
elif action == 'clear':
|
||||
for w in windows:
|
||||
w.clear_screen()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue