mise API - v0.0.0
    Preparing search index...

    Class FaceLogRing

    A bounded line buffer for output arriving while the face owns the screen.

    Everything a stray console.log (a retry warning, a background sweep report) writes is caged here: the newest lines feed the face's strip, and the whole run since the last flush is replayed into the normal buffer when the operator drops to text — so nothing is ever lost, only re-homed.

    Index
    • Returns and forgets the lines not yet replayed into the normal buffer.

      Returns string[]

      The unflushed lines, oldest first.

    • Absorbs one raw write, splitting it into stripped, stored lines.

      A carriage return without a newline is a redraw (a spinner frame): it discards what preceded it on the line rather than appending, so a thousand frames stay one line, not one enormous one.

      Parameters

      • chunk: string

        The text a hijacked stdout/stderr write carried.

      Returns void

    • The newest lines, for the face's log strip.

      Parameters

      • count: number

        How many lines the strip shows.

      Returns string[]

      Up to count lines, oldest first.