mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
make sure prompt_toolkit is still imported
This commit is contained in:
parent
9979315e05
commit
cb4dba869b
1 changed files with 1 additions and 0 deletions
|
@ -856,6 +856,7 @@ def color_style():
|
|||
|
||||
def _get_color_indexes(style_map):
|
||||
""" Generates the color and windows color index for a style """
|
||||
import prompt_toolkit
|
||||
table = prompt_toolkit.terminal.win32_output.ColorLookupTable()
|
||||
pt_style = prompt_toolkit.styles.style_from_dict(style_map)
|
||||
for token in style_map:
|
||||
|
|
Loading…
Add table
Reference in a new issue