From 3c949ce73eedc69357f6be5c944f7a0f9e6092f3 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 30 Jun 2021 23:34:51 +0200 Subject: [PATCH] Modified color-mode notice on startup --- nomadnet/ui/TextUI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nomadnet/ui/TextUI.py b/nomadnet/ui/TextUI.py index 5db21b4..c63167a 100644 --- a/nomadnet/ui/TextUI.py +++ b/nomadnet/ui/TextUI.py @@ -83,7 +83,8 @@ class TextUI: # TODO: Probably remove this at some point when better terminal # color capability detection has been implemented - RNS.log("Starting Text UI in "+str(colormode)+" color mode. If no UI appears, try adjusting your color settings in "+str(self.app.configdir)+"/config", RNS.LOG_INFO) + if colormode > 16: + RNS.log("Starting Text UI in "+str(colormode)+" color mode. If no UI appears, try adjusting your color settings in "+str(self.app.configdir)+"/config", RNS.LOG_INFO) self.set_colormode(colormode)