Commits

Antonio Cuni committed e6049f1

issue 2 fixed
re-enable the old readline completer before leaving the pdb prompt

Comments (0)

Files changed (1)

         self.print_stack_entry(self.stack[self.curindex])
         self.print_hidden_frames_count()
         completer = fancycompleter.setup()
+        old_completer = completer.config.readline.get_completer()
         completer.config.readline.set_completer(self.complete)
         self.cmdloop()
+        completer.config.readline.set_completer(old_completer)
         self.forget()
 
     def print_hidden_frames_count(self):