mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
Don't guard against alternate_screen in as_text
Complementary to 15f534a8f9
This commit is contained in:
parent
ee3ce3c7d8
commit
ee7f4ee1a4
1 changed files with 0 additions and 1 deletions
|
|
@ -438,7 +438,6 @@ class Window:
|
|||
|
||||
def as_text(self, as_ansi=False, add_history=False, add_pager_history=False, add_wrap_markers=False, alternate_screen=False):
|
||||
lines = []
|
||||
add_history = add_history and not self.screen.is_using_alternate_linebuf() and not alternate_screen
|
||||
if alternate_screen:
|
||||
f = self.screen.as_text_alternate
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue