From 16c5a4cd13b912ec32e7ee3bbae1b723959023a5 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 9 Oct 2026 09:41:49 +0200 Subject: [PATCH] gui: procs window shows '(no output)' for empty output --- kde/gui/ProcManagerWindow.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kde/gui/ProcManagerWindow.qml b/kde/gui/ProcManagerWindow.qml index 57d2ebf..387f746 100644 --- a/kde/gui/ProcManagerWindow.qml +++ b/kde/gui/ProcManagerWindow.qml @@ -127,7 +127,8 @@ Window { onClicked: selectedPid = modelData.pid onDoubleClicked: { selectedPid = modelData.pid - outputText = ollie.procOutput(currentSessionId, currentAgentId, selectedPid) + var out = ollie.procOutput(currentSessionId, currentAgentId, selectedPid) + outputText = out.length > 0 ? out : "(no output)" } } @@ -233,7 +234,8 @@ Window { enabled: selectedPid > 0 onClicked: { outputText = "" - outputText = ollie.procOutput(currentSessionId, currentAgentId, selectedPid) + var out = ollie.procOutput(currentSessionId, currentAgentId, selectedPid) + outputText = out.length > 0 ? out : "(no output)" } }