##// END OF EJS Templates
Add session offset to history manager's reset method.
Thomas Kluyver -
Show More
@@ -285,6 +285,8 b' class HistoryManager(object):'
285 285 self.output_hist.clear()
286 286 # The directory history can't be completely empty
287 287 self.dir_hist[:] = [os.getcwd()]
288 # Reset session offset to -1, so next command counts as #1
289 self.session_offset = -1
288 290
289 291 class HistorySaveThread(threading.Thread):
290 292 """This thread makes IPython save history periodically.
General Comments 0
You need to be logged in to leave comments. Login now