Show More
@@ -285,6 +285,8 b' class HistoryManager(object):' | |||||
285 | self.output_hist.clear() |
|
285 | self.output_hist.clear() | |
286 | # The directory history can't be completely empty |
|
286 | # The directory history can't be completely empty | |
287 | self.dir_hist[:] = [os.getcwd()] |
|
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 | class HistorySaveThread(threading.Thread): |
|
291 | class HistorySaveThread(threading.Thread): | |
290 | """This thread makes IPython save history periodically. |
|
292 | """This thread makes IPython save history periodically. |
General Comments 0
You need to be logged in to leave comments.
Login now