From e4b0666579de6c996352a433b36b43487ef338e5 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 27 Aug 2021 12:23:29 +0300 Subject: [PATCH] fix shell widget --- main/shell-widget.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/shell-widget.lua b/main/shell-widget.lua index 3fba154..34fbc6e 100644 --- a/main/shell-widget.lua +++ b/main/shell-widget.lua @@ -24,10 +24,11 @@ end function on_shell_result(text) if text == "" then - return + current_output = "no output" + else + current_output = text end - current_output = text redraw() end