mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
When running kittens respect current screen scroll
This commit is contained in:
@@ -330,6 +330,11 @@ class Window:
|
||||
ans = h + '\n' + ans
|
||||
return ans
|
||||
|
||||
def as_text(self, as_ansi=False):
|
||||
lines = []
|
||||
self.screen.as_text(lines.append, as_ansi)
|
||||
return ''.join(lines)
|
||||
|
||||
# actions {{{
|
||||
|
||||
def show_scrollback(self):
|
||||
|
||||
Reference in New Issue
Block a user