rename terminal -> term

This commit is contained in:
Michael Chris Lopez
2021-10-09 16:27:46 +08:00
parent f6bcb08068
commit 89b9e8cc69
17 changed files with 49 additions and 50 deletions

View File

@@ -13,7 +13,7 @@ ansi = ["${color0}", "${color1}", "${color2}", "${color3}", "${color4}", "${colo
brights = ["${color8}", "${color9}", "${color10}", "${color11}", "${color12}", "${color13}", "${color14}", "${color15}"]
]]
return function(name, theme, palette, terminal)
return function(name, theme, palette, term)
local name = name:sub(1, 1):upper() .. name:sub(2)
local values = {
@@ -26,7 +26,7 @@ return function(name, theme, palette, terminal)
selection_bg = theme.Visual.bg.hex,
selection_fg = theme.Normal.fg.hex,
}
for i, v in ipairs(terminal.colors) do
for i, v in ipairs(term) do
values["color" .. (i - 1)] = v.hex
end