Update settings.lua
This commit is contained in:
parent
44c11dda37
commit
e79014c864
1 changed files with 2 additions and 1 deletions
|
@ -112,9 +112,10 @@ end
|
||||||
|
|
||||||
local function changeLabel()
|
local function changeLabel()
|
||||||
sPhone.header(sPhone.user)
|
sPhone.header(sPhone.user)
|
||||||
visum.align("center", "Set Label",false,3)
|
visum.align("center", " Set Label",false,3)
|
||||||
term.setCursorPos(2,5)
|
term.setCursorPos(2,5)
|
||||||
local newLabel = read()
|
local newLabel = read()
|
||||||
|
newLabel = newLabel:gsub("&", string.char(0xc2)..string.char(0xa7)) --yay colors
|
||||||
os.setComputerLabel(newLabel)
|
os.setComputerLabel(newLabel)
|
||||||
sPhone.winOk("Computer Label set")
|
sPhone.winOk("Computer Label set")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue