diff options
author | bptato <nincsnevem662@gmail.com> | 2024-03-04 18:15:26 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-03-04 18:17:52 +0100 |
commit | c14b45248ce2dc072828436ce2f5557d2f79fb43 (patch) | |
tree | 516892b19663f4663e6f79e322f37ddf76039b63 /src/local/pager.nim | |
parent | 298a21ef76691a322d0cc442da4f324da5b6b32a (diff) | |
download | chawan-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.nim | 2 |
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: |