mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
bugfix for get-text with extent=screen
This commit is contained in:
parent
2cdf41f190
commit
cfd6ea4301
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
# }}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue