about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-04 18:15:26 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-04 18:17:52 +0100
commitc14b45248ce2dc072828436ce2f5557d2f79fb43 (patch)
tree516892b19663f4663e6f79e322f37ddf76039b63 /src/local/pager.nim
parent298a21ef76691a322d0cc442da4f324da5b6b32a (diff)
downloadchawan-c14b45248ce2dc072828436ce2f5557d2f79fb43.tar.gz
pager: clear status message when opening external viewers
it used to leave "Connecting..." on the screen
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index d8f7c5dd..56ecd608 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1350,6 +1350,8 @@ proc handleEvent0(pager: Pager, container: Container, event: ContainerEvent): bo
       cm.then(proc() =
         container.startload())
     else:
+      # remove "connecting..." message left by connect2
+      pager.refreshStatusMsg()
       cm.then(proc(): auto =
         container.quit())
   of QUIT: