SKS OCDoc
OpenComputers
Computronics
Minitel

lib/vtansi.lua

vtansi.vtemu(gpu^table^, bn^number^): function

takes GPU component proxy gpu and returns a function to write to it in a manner like an ANSI terminal, either allocating a new buffer or using bn.

vtansi.vtsession(gpua^string^, scra^string^, bn^number^): function, function, function

creates a process to handle the GPU and screen address combination gpua/scra, optionally using buffer number bn specifically. Returns read, write and "close" functions.

© ShadowKat Studios
The software used to generate this page is licensed under the Mozilla Public License version 2 and can be found here