Actually make colors change
This commit is contained in:
parent
1a33abd03b
commit
98785c57bb
4
lib.lua
4
lib.lua
@ -66,8 +66,8 @@ local protocol = "wyvern"
|
|||||||
|
|
||||||
local function init_screen(scr, bg, fg)
|
local function init_screen(scr, bg, fg)
|
||||||
scr.setCursorPos(1, 1)
|
scr.setCursorPos(1, 1)
|
||||||
scr.setBackgroundColor(colors.white)
|
scr.setBackgroundColor(bg)
|
||||||
scr.setTextColor(colors.black)
|
scr.setTextColor(fg)
|
||||||
scr.clear()
|
scr.clear()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user