disable cursor blink
This commit is contained in:
@@ -34,13 +34,11 @@ local function write(text)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Handle wrapping if we go past right edge
|
|
||||||
if x > w then
|
if x > w then
|
||||||
x = 1
|
x = 1
|
||||||
y = y + 1
|
y = y + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Handle scrolling if we go past bottom
|
|
||||||
if y-1 > h then
|
if y-1 > h then
|
||||||
term.scroll(1)
|
term.scroll(1)
|
||||||
y = h
|
y = h
|
||||||
@@ -63,6 +61,7 @@ local function displaySuperBadError(err)
|
|||||||
while true do end
|
while true do end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
term.setCursorBlink(false)
|
||||||
-- Wrap all in xpcall to catch errors
|
-- Wrap all in xpcall to catch errors
|
||||||
local ok, err = xpcall(function()
|
local ok, err = xpcall(function()
|
||||||
local apis={BOOT_DRIVE_PATH=BOOT_DRIVE_PATH}
|
local apis={BOOT_DRIVE_PATH=BOOT_DRIVE_PATH}
|
||||||
|
|||||||
Reference in New Issue
Block a user