diff --git a/kitty/boss.py b/kitty/boss.py index 018ab2baa..f9fe61e1b 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -526,7 +526,7 @@ class Boss: end_kitten = create_kitten_handler(kitten, orig_args) args[0:0] = [config_dir, kitten] type_of_input = end_kitten.type_of_input - if type_of_input in ('text', 'history', 'ansi', 'ansi-history', 'screen', 'screen-history', 'screen-ansi-history'): + if type_of_input in ('text', 'history', 'ansi', 'ansi-history', 'screen', 'screen-history', 'screen-ansi', 'screen-ansi-history'): data = w.as_text( as_ansi='ansi' in type_of_input, add_history='history' in type_of_input,