term fixes, scroll methods was moved

This commit is contained in:
payonel 2017-09-16 08:19:49 +02:00
parent 5c9760cf77
commit 47c67a119f

View File

@ -248,5 +248,12 @@ function term.bind(gpu, window)
return as_window(window, tty.bind, gpu)
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