diff options
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r-- | src/local/pager.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index 50591ee3..0744a151 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -318,8 +318,9 @@ proc refreshStatusMsg*(pager: Pager) = elif pager.inputBuffer != "": pager.writeStatusMessage(pager.inputBuffer) elif container.loadinfo != "": - pager.alerton = false + pager.alerton = true pager.writeStatusMessage(container.loadinfo) + container.loadinfo = "" elif pager.alerts.len > 0: pager.alerton = true pager.writeStatusMessage(pager.alerts[0]) @@ -1261,7 +1262,7 @@ proc handleEvent0(pager: Pager, container: Container, event: ContainerEvent): bo of INVALID_COMMAND: discard of STATUS: if pager.container == container: - pager.showAlerts() + pager.refreshStatusMsg() of TITLE: if pager.container == container: pager.showAlerts() |