mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
bugfix for get-text with extent=screen
This commit is contained in:
@@ -530,7 +530,7 @@ def get_text(boss, window, payload):
|
||||
if payload['extent'] == 'selection':
|
||||
ans = window.text_for_selection()
|
||||
else:
|
||||
ans = window.as_text(as_ansi=bool(payload['ansi']), add_history=True)
|
||||
ans = window.as_text(as_ansi=bool(payload['ansi']), add_history=(payload['extent']=='all'))
|
||||
return ans
|
||||
# }}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user