Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Flow and algorithm

Platform spec article

Flow and algorithm

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Document flow and algorithm for the Console Controls feature: role-specific normative detail beyond the feature hub.

  • Feature hub: Console Controls
  • Sibling articles in this bundle (design model, contracts, flow, examples, verification)
  1. save ← EmitDec("7")
  2. Optional Erase.DisplayAll when clearing screen
  3. Walk control tree → append styled/plain segments to buffer
  4. restore ← EmitDec("8")
  5. System.Output.Write(buffer)
  1. Create Channel<ConsoleMessage> via Console.MessagesChannel()
  2. Fiber loop: Console.RunTick(channel, lastSize) → may enqueue Resize
  3. On message: if Resize, invalidate layout; call Frame.Render
  4. Yield or sleep between ticks (host policy)

Cursor/erase sequences: ANSI escape model.

See the verification and traceability article in this bundle and compiler/corelib/beskid_corelib/tests/corelib_tests/src/console/.