mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Fix condition in stdin selection for launch
This commit is contained in:
parent
c140e17a6f
commit
5ad704469f
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def data_for_at(w, arg, add_wrap_markers=False):
|
|||
|
||||
if arg == '@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)
|
||||
if arg == '@text' or arg == '@screen_scrollback':
|
||||
return as_text(add_history=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue