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 as_text(**kw):
|
|||
|
||||
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…
Reference in a new issue