From 1b87eb82ff59a261589338240766672b84ed0a6c Mon Sep 17 00:00:00 2001 From: Marcel Partap Date: Sun, 6 Jul 2025 00:46:13 +0200 Subject: [PATCH 1/2] Revert "Fix pause mode ("Z") in tree view" This reverts commit 7b739b6292bbc199273a1c4133fe2e03280b707c. Not sure about the context of the reverted patch, but it prevents sorting when paused. --- ScreenManager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScreenManager.c b/ScreenManager.c index 443b62693..6086fcd88 100644 --- a/ScreenManager.c +++ b/ScreenManager.c @@ -135,7 +135,7 @@ static void checkRecalculation(ScreenManager* this, double* oldTime, int* sortTi if (*rescan) { *oldTime = newTime; int oldUidDigits = Process_uidDigits; - if (!this->state->pauseUpdate && (*sortTimeout == 0 || host->settings->ss->treeView)) { + if (*sortTimeout == 0 || host->settings->ss->treeView) { host->activeTable->needsSort = true; *sortTimeout = 1; } From 797354a75c0d167bf1f6dc52d1ca5310eeec3e36 Mon Sep 17 00:00:00 2001 From: Marcel Partap Date: Sun, 6 Jul 2025 00:55:56 +0200 Subject: [PATCH 2/2] Improve contrast & readability of PAUSED indicator in function bar --- CRT.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CRT.c b/CRT.c index 9438bd7c3..c87da0f7e 100644 --- a/CRT.c +++ b/CRT.c @@ -126,7 +126,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [PANEL_SELECTION_UNFOCUS] = ColorPair(Black, White), [FAILED_SEARCH] = ColorPair(Red, Cyan), [FAILED_READ] = A_BOLD | ColorPair(Red, Black), - [PAUSED] = A_BOLD | ColorPair(Yellow, Cyan), + [PAUSED] = A_BOLD | ColorPair(Yellow, Black), [UPTIME] = A_BOLD | ColorPair(Cyan, Black), [BATTERY] = A_BOLD | ColorPair(Cyan, Black), [LARGE_NUMBER] = A_BOLD | ColorPair(Red, Black), @@ -244,7 +244,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [PANEL_SELECTION_UNFOCUS] = A_BOLD, [FAILED_SEARCH] = A_REVERSE | A_BOLD, [FAILED_READ] = A_BOLD, - [PAUSED] = A_BOLD | A_REVERSE, + [PAUSED] = A_BOLD, [UPTIME] = A_BOLD, [BATTERY] = A_BOLD, [LARGE_NUMBER] = A_BOLD, @@ -362,7 +362,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [PANEL_SELECTION_UNFOCUS] = ColorPair(Blue, White), [FAILED_SEARCH] = ColorPair(Red, Cyan), [FAILED_READ] = ColorPair(Red, White), - [PAUSED] = A_BOLD | ColorPair(Yellow, Cyan), + [PAUSED] = A_BOLD | ColorPair(Black, Yellow), [UPTIME] = ColorPair(Yellow, White), [BATTERY] = ColorPair(Yellow, White), [LARGE_NUMBER] = ColorPair(Red, White), @@ -480,7 +480,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [PANEL_SELECTION_UNFOCUS] = ColorPair(Blue, Black), [FAILED_SEARCH] = ColorPair(Red, Cyan), [FAILED_READ] = ColorPair(Red, Black), - [PAUSED] = A_BOLD | ColorPair(Yellow, Cyan), + [PAUSED] = A_BOLD | ColorPair(Yellow, Black), [UPTIME] = ColorPair(Yellow, Black), [BATTERY] = ColorPair(Yellow, Black), [LARGE_NUMBER] = ColorPair(Red, Black), @@ -598,7 +598,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [PANEL_SELECTION_UNFOCUS] = A_BOLD | ColorPair(Yellow, Blue), [FAILED_SEARCH] = ColorPair(Red, Cyan), [FAILED_READ] = A_BOLD | ColorPair(Red, Blue), - [PAUSED] = A_BOLD | ColorPair(Yellow, Cyan), + [PAUSED] = A_BOLD | ColorPair(Yellow, Blue), [UPTIME] = A_BOLD | ColorPair(Yellow, Blue), [BATTERY] = A_BOLD | ColorPair(Yellow, Blue), [LARGE_NUMBER] = A_BOLD | ColorPair(Red, Blue), @@ -716,7 +716,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [PANEL_SELECTION_UNFOCUS] = ColorPair(Black, White), [FAILED_SEARCH] = ColorPair(Red, Green), [FAILED_READ] = A_BOLD | ColorPair(Red, Black), - [PAUSED] = A_BOLD | ColorPair(Yellow, Green), + [PAUSED] = A_BOLD | ColorPair(Yellow, Black), [UPTIME] = ColorPair(Green, Black), [BATTERY] = ColorPair(Green, Black), [LARGE_NUMBER] = A_BOLD | ColorPair(Red, Black), @@ -833,7 +833,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [PANEL_SELECTION_UNFOCUS] = A_BOLD, [FAILED_SEARCH] = A_REVERSE | A_BOLD | ColorPair(Yellow, Black), [FAILED_READ] = A_BOLD | ColorPair(Yellow, Black), - [PAUSED] = A_BOLD | ColorPair(Black, Cyan), + [PAUSED] = A_BOLD | ColorPair(Yellow, Black), [UPTIME] = A_BOLD, [BATTERY] = A_BOLD, [LARGE_NUMBER] = A_BOLD | ColorPair(Yellow, Black),