Show More
@@ -45,7 +45,6 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
45 |
|
45 | |||
46 | pt_cli = None |
|
46 | pt_cli = None | |
47 | debugger_history = None |
|
47 | debugger_history = None | |
48 | debugger_cls = TerminalPdb |
|
|||
49 |
|
48 | |||
50 | simple_prompt = Bool(_use_simple_prompt, |
|
49 | simple_prompt = Bool(_use_simple_prompt, | |
51 | help="""Use `raw_input` for the REPL, without completion, multiline input, and prompt colors. |
|
50 | help="""Use `raw_input` for the REPL, without completion, multiline input, and prompt colors. | |
@@ -59,13 +58,9 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
59 | """ |
|
58 | """ | |
60 | ).tag(config=True) |
|
59 | ).tag(config=True) | |
61 |
|
60 | |||
62 | @observe('simple_prompt') |
|
61 | @property | |
63 | def _simple_prompt_changed(self, changes): |
|
62 | def debugger_cls(self): | |
64 | if changes['new'] == True: |
|
63 | return Pdb if self.simple_prompt else TerminalPdb | |
65 | self.debugger_cls = Pdb |
|
|||
66 | else: |
|
|||
67 | self.debugger_cls = TerminalPdb |
|
|||
68 |
|
||||
69 |
|
64 | |||
70 | autoedit_syntax = Bool(False, |
|
65 | autoedit_syntax = Bool(False, | |
71 | help="auto editing of files with syntax errors.", |
|
66 | help="auto editing of files with syntax errors.", |
General Comments 0
You need to be logged in to leave comments.
Login now