mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
Fix comparing shell_type against both ptk1/2
This commit is contained in:
parent
4ad17d8a7c
commit
8df9ac214b
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ def clean_jobs():
|
|||
else:
|
||||
msg = 'there is an unfinished job'
|
||||
|
||||
if builtins.__xonsh_env__['SHELL_TYPE'] != 'prompt_toolkit':
|
||||
if 'prompt_toolkit' not in builtins.__xonsh_env__['SHELL_TYPE']:
|
||||
# The Ctrl+D binding for prompt_toolkit already inserts a
|
||||
# newline
|
||||
print()
|
||||
|
|
Loading…
Add table
Reference in a new issue