Update settings.lua
This commit is contained in:
parent
44c11dda37
commit
e79014c864
1 changed files with 2 additions and 1 deletions
|
@ -115,6 +115,7 @@ local function changeLabel()
|
||||||
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…
Add table
Reference in a new issue