Struct ScrollbackBuffer.CircularBuffer

This is an internal helper for its scrollback buffer.

struct CircularBuffer(T);

It is fairly generic and I might move it somewhere else some day.

It has a compile-time specified limit of 8192 entries.