This commit is contained in:
Kovid Goyal 2018-05-19 08:49:03 +05:30
parent ba9af3df8c
commit c2bd6a66d9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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,