TermBuf::BufferSurface
Inherits TermBuf::Drawing < Reference < Object
Stability: stable — changes only in a major release.
A drawing surface that writes into a buffer as commands arrive.
The core layer's answer to Terminal: everything built on Drawing works
against it, with no device, no fibres, and nothing to tear down afterwards.
Constructors
new(buffer : Buffer)
A drawing surface over buffer. Commands are applied as they arrive, on whichever fibre issued them.
Class methods
Instance methods
issue(command : Command) : Nil
Applies command, ignoring the ones that need a terminal to mean anything.