Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Design model

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Document design model for the Console Terminal Events feature: role-specific normative detail beyond the feature hub.

  • Feature hub: Console Terminal Events
  • Sibling articles in this bundle (design model, contracts, flow, examples, verification)
VariantPayloadUse
Resize(ConsoleSize)columns/rowsTerminal geometry changed
(tick-related)Integrated with Console.RunTick polling

Messages flow on an unbounded Channel<ConsoleMessage> created by Console.MessagesChannel() unless callers supply their own channel.

Same-fiber event OnResize(ConsoleSize) with cached lastSize. Distinct from Concurrency.Hub (channel multiplexing). Use when resize handlers must run on the UI fiber without cross-fiber Send.

flowchart TD
  winsize[Platform Winsize ioctl]
  env[COLUMNS / LINES env]
  query[Terminal.QuerySize]
  winsize --> query
  env --> query

ANSI screen modes are unrelated to size events; see ANSI escape model.

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