mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Shell was not colorizing due to bug introduced at r57998, Bug 1586.
This commit is contained in:
parent
f4d4f8b97f
commit
8a78cadf56
2 changed files with 17 additions and 2 deletions
|
@ -811,6 +811,8 @@ class PyShell(OutputWindow):
|
|||
text.bind("<<open-stack-viewer>>", self.open_stack_viewer)
|
||||
text.bind("<<toggle-debugger>>", self.toggle_debugger)
|
||||
text.bind("<<toggle-jit-stack-viewer>>", self.toggle_jit_stack_viewer)
|
||||
self.color = color = self.ColorDelegator()
|
||||
self.per.insertfilter(color)
|
||||
if use_subprocess:
|
||||
text.bind("<<view-restart>>", self.view_restart_mark)
|
||||
text.bind("<<restart-shell>>", self.restart_shell)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue