Show More
@@ -277,7 +277,9 b' class Pdb(OldPdb, object):' | |||
|
277 | 277 | line = self.cmdqueue.pop(0) |
|
278 | 278 | else: |
|
279 | 279 | try: |
|
280 |
line = ptk_prompt(get_prompt_tokens=get_prompt_tokens |
|
|
280 | line = ptk_prompt(get_prompt_tokens=get_prompt_tokens, | |
|
281 | history=self.shell.debugger_history, | |
|
282 | ) | |
|
281 | 283 | except EOFError: |
|
282 | 284 | line = 'EOF' |
|
283 | 285 | line = self.precmd(line) |
@@ -100,6 +100,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
100 | 100 | self._update_layout() |
|
101 | 101 | |
|
102 | 102 | pt_cli = None |
|
103 | debugger_history = None | |
|
103 | 104 | |
|
104 | 105 | autoedit_syntax = Bool(False, |
|
105 | 106 | help="auto editing of files with syntax errors.", |
@@ -362,6 +363,8 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
362 | 363 | self.init_term_title() |
|
363 | 364 | self.keep_running = True |
|
364 | 365 | |
|
366 | self.debugger_history = InMemoryHistory() | |
|
367 | ||
|
365 | 368 | def ask_exit(self): |
|
366 | 369 | self.keep_running = False |
|
367 | 370 |
General Comments 0
You need to be logged in to leave comments.
Login now