From c14b45248ce2dc072828436ce2f5557d2f79fb43 Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 4 Mar 2024 18:15:26 +0100 Subject: pager: clear status message when opening external viewers it used to leave "Connecting..." on the screen --- src/local/pager.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/local/pager.nim') 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: -- cgit 1.4.1-2-gfad0