Skip to content

Commit 87b0a9c

Browse files
add time of last reload
1 parent 2077aa6 commit 87b0a9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import sys
1111
import tempfile
1212
import threading
13+
import time
1314
import unicodedata
1415

1516
from bpython import autocomplete
@@ -425,6 +426,7 @@ def process_event(self, e):
425426
elif e in key_dispatch[self.config.reimport_key]:
426427
self.clear_modules_and_reevaluate()
427428
self.update_completion()
429+
self.status_bar.message(_('Reloaded at ')+time.strftime('%H:%M:%S'))
428430
elif e in key_dispatch[self.config.undo_key]: #ctrl-r for undo
429431
self.undo()
430432
self.update_completion()

0 commit comments

Comments
 (0)