mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 17:28:52 -04:00
term fixes, scroll methods was moved
This commit is contained in:
parent
5c9760cf77
commit
47c67a119f
@ -248,5 +248,12 @@ function term.bind(gpu, window)
|
|||||||
return as_window(window, tty.bind, gpu)
|
return as_window(window, tty.bind, gpu)
|
||||||
end
|
end
|
||||||
|
|
||||||
return term
|
function term.scroll(...)
|
||||||
|
if io.stdout.tty then
|
||||||
|
return io.stdout.stream.scroll(...)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
term.internal.run_in_window = as_window
|
||||||
|
|
||||||
|
return term
|
||||||
|
Loading…
x
Reference in New Issue
Block a user