Merge branch 'master' of https://github.com/Ma-Shell/kitty
This commit is contained in:
@@ -530,7 +530,7 @@ def get_text(boss, window, payload):
|
|||||||
if payload['extent'] == 'selection':
|
if payload['extent'] == 'selection':
|
||||||
ans = window.text_for_selection()
|
ans = window.text_for_selection()
|
||||||
else:
|
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
|
return ans
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user