From b47bc667a254c1b1a8d6b5a635ca73f6c91c2e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 5 Oct 2020 15:14:54 +0200 Subject: Add key to pause process list updates --- MainPanel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MainPanel.c') diff --git a/MainPanel.c b/MainPanel.c index 2c89a073..48d869ff 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -92,6 +92,8 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { if (reaction & HTOP_REDRAW_BAR) { MainPanel_updateTreeFunctions(this, this->state->settings->treeView); IncSet_drawBar(this->inc); + if (this->state->pauseProcessUpdate) + FunctionBar_append("PAUSED", CRT_colors[PAUSED]); } if (reaction & HTOP_UPDATE_PANELHDR) { ProcessList_printHeader(this->state->pl, Panel_getHeader(super)); -- cgit v1.2.3