File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1818from prompt_toolkit .key_binding .vi_state import InputMode
1919from prompt_toolkit .shortcuts import create_eventloop
2020from prompt_toolkit .utils import Callback
21+ from prompt_toolkit .styles import DynamicStyle , PygmentsStyle
2122
2223from .commands .completer import create_command_completer
2324from .commands .handler import handle_command
@@ -171,7 +172,7 @@ def handle_action(cli, buffer):
171172 COMMAND_BUFFER : command_buffer ,
172173 SEARCH_BUFFER : search_buffer ,
173174 },
174- get_style = lambda : self .current_style ,
175+ style = DynamicStyle ( lambda : PygmentsStyle ( self .current_style )) ,
175176 paste_mode = Condition (lambda cli : self .paste_mode ),
176177 ignore_case = Condition (lambda cli : self .ignore_case ),
177178 mouse_support = Condition (lambda cli : self .enable_mouse_support ),
You can’t perform that action at this time.
0 commit comments