mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -04:00
tty may be a custom tty stream that didn't care about a cursor
This commit is contained in:
parent
d8346988f9
commit
aa963bfd26
@ -79,7 +79,9 @@ function tty.stream:write(value)
|
||||
return
|
||||
end
|
||||
local window = tty.window
|
||||
local cursor = window.cursor or {sy = 0, tails = {}}
|
||||
local cursor = window.cursor or {}
|
||||
cursor.sy = cursor.sy or 0
|
||||
cursor.tails = cursor.tails or {}
|
||||
local beeped
|
||||
local uptime = computer.uptime
|
||||
local last_sleep = uptime()
|
||||
|
Loading…
x
Reference in New Issue
Block a user