Signature used by FrameView to paint a structured terminal frame.
typedef FramePainter = void Function(Frame frame);