From 517376db28ac03934a3faa21770f7f9dc571d1fc Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Thu, 28 Mar 2019 07:39:34 -0400 Subject: [PATCH] update issues --- sys/apps/shell.lua | 6 ++++++ sys/apps/system/colors.lua | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/sys/apps/shell.lua b/sys/apps/shell.lua index 05978a7..a138fe6 100644 --- a/sys/apps/shell.lua +++ b/sys/apps/shell.lua @@ -396,6 +396,12 @@ local config = { Config.load('shellprompt', config) local _colors = config.color +-- temp +if not _colors.backgroundColor then + _colors.backgroundColor = colors.black + _colors.fileColor = colors.white +end + if not term.isColor() then _colors = { } for k, v in pairs(config.color) do diff --git a/sys/apps/system/colors.lua b/sys/apps/system/colors.lua index 3bdefda..cce9559 100644 --- a/sys/apps/system/colors.lua +++ b/sys/apps/system/colors.lua @@ -32,6 +32,12 @@ for k, v in pairs(defaults) do table.insert(allSettings, { name = k }) end +-- temp +if not _colors.backgroundColor then + _colors.backgroundColor = colors.black + _colors.fileColor = colors.white +end + local tab = UI.Tab { tabTitle = 'Shell', description = 'Shell option',