Skip to content

Commit 5ad7044

Browse files
committed
Fix condition in stdin selection for launch
1 parent c140e17 commit 5ad7044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kitty/boss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def as_text(**kw):
5858

5959
if arg == '@selection':
6060
return w.text_for_selection()
61-
if arg == '@ansi' or '@ansi_screen_scrollback':
61+
if arg == '@ansi' or arg == '@ansi_screen_scrollback':
6262
return as_text(as_ansi=True, add_history=True)
6363
if arg == '@text' or arg == '@screen_scrollback':
6464
return as_text(add_history=True)

0 commit comments

Comments
 (0)