update issues

This commit is contained in:
kepler155c@gmail.com 2019-03-28 07:39:34 -04:00
parent b71ca0d545
commit 517376db28
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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',