Skip to content

Commit 83b80ae

Browse files
committed
Hide watchdog message after some time (fixes bpython#437)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent aabcd6d commit 83b80ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,10 +738,9 @@ def toggle_file_watch(self):
738738
if self.watching_files:
739739
self.watcher.deactivate()
740740
self.watching_files = False
741-
self.status_bar.pop_permanent_message(msg)
742741
else:
743742
self.watching_files = True
744-
self.status_bar.push_permanent_message(msg)
743+
self.status_bar.message(msg)
745744
self.watcher.activate()
746745
else:
747746
self.status_bar.message('Autoreloading not available because watchdog not installed')

0 commit comments

Comments
 (0)