##// END OF EJS Templates
initialize hlen_b4_cell also in the no readline case
Julian Taylor -
Show More
@@ -275,6 +275,8 b' class TerminalInteractiveShell(InteractiveShell):'
275 if self.has_readline:
275 if self.has_readline:
276 self.readline_startup_hook(self.pre_readline)
276 self.readline_startup_hook(self.pre_readline)
277 hlen_b4_cell = self.readline.get_current_history_length()
277 hlen_b4_cell = self.readline.get_current_history_length()
278 else:
279 hlen_b4_cell = 0
278 # exit_now is set by a call to %Exit or %Quit, through the
280 # exit_now is set by a call to %Exit or %Quit, through the
279 # ask_exit callback.
281 # ask_exit callback.
280
282
General Comments 0
You need to be logged in to leave comments. Login now