Merge branch 'fix_stdin_source' of https://github.com/miseran/kitty

This commit is contained in:
Kovid Goyal 2019-11-26 06:47:21 +05:30
commit 88854c1aa4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -58,7 +58,7 @@ def data_for_at(w, arg, add_wrap_markers=False):
if arg == '@selection': if arg == '@selection':
return w.text_for_selection() return w.text_for_selection()
if arg == '@ansi' or '@ansi_screen_scrollback': if arg == '@ansi' or arg == '@ansi_screen_scrollback':
return as_text(as_ansi=True, add_history=True) return as_text(as_ansi=True, add_history=True)
if arg == '@text' or arg == '@screen_scrollback': if arg == '@text' or arg == '@screen_scrollback':
return as_text(add_history=True) return as_text(add_history=True)