module TermBuf::Commands

Overview

Everything that mutates the buffer arrives as one of these.

One fibre owns the buffer and nothing else touches it, so the public drawing methods do not mutate anything: they build a command and hand it over. That is what makes ordering total and locking unnecessary.

Defined in:

termbuf/terminal/command.cr