From 7ad117a774149593a44ab29b7177d95660485f0d Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 27 May 2021 10:50:23 +0200 Subject: [PATCH] Added Text UI color mode notice on startup --- nomadnet/ui/TextUI.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nomadnet/ui/TextUI.py b/nomadnet/ui/TextUI.py index 00587a8..502166a 100644 --- a/nomadnet/ui/TextUI.py +++ b/nomadnet/ui/TextUI.py @@ -79,6 +79,10 @@ class TextUI: if intro_timeout > 0: self.loop.set_alarm_in(intro_timeout, self.display_main) + + # 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) self.set_colormode(colormode)