mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
one more reference to prompt_toolkit
This commit is contained in:
parent
cb4dba869b
commit
c447f8f010
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,7 @@ def expand_gray_colors_for_cmd_exe(style_map):
|
|||
in cmd.exe.
|
||||
"""
|
||||
modified_style = {}
|
||||
if not ON_WINDOWS or prompt_toolkit is None:
|
||||
if not ON_WINDOWS or builtins.__xonsh_shell__.stype != 'prompt_toolkit':
|
||||
return modified_style
|
||||
for token, idx, rgb in _get_color_indexes(style_map):
|
||||
if idx == 7 and rgb:
|
||||
|
|
Loading…
Add table
Reference in a new issue