File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ def patch_stdout(**kwargs):
6363 mouse_support = self .shell .mouse_support ,
6464 get_prompt_tokens = get_prompt_tokens ,
6565 display_completions_in_columns = multicolumn ,
66+ style = self .shell .style
6667 )
6768 self .pt_cli = CommandLineInterface (self ._pt_app , eventloop = self .shell ._eventloop )
6869
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ def prompt():
235235 last_cell = cell
236236
237237 self ._style = self ._make_style_from_name_or_cls (self .highlighting_style )
238- style = DynamicStyle (lambda : self ._style )
238+ self . style = DynamicStyle (lambda : self ._style )
239239
240240 editing_mode = getattr (EditingMode , self .editing_mode .upper ())
241241
@@ -249,7 +249,7 @@ def patch_stdout(**kwargs):
249249 completer = IPythonPTCompleter (shell = self ,
250250 patch_stdout = patch_stdout ),
251251 enable_history_search = True ,
252- style = style ,
252+ style = self . style ,
253253 mouse_support = self .mouse_support ,
254254 ** self ._layout_options ()
255255 )
You can’t perform that action at this time.
0 commit comments