Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Flow and algorithm

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Document flow and algorithm 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)
  1. now ← QuerySize() (platform winsize chain → env fallback)
  2. If now.columns != lastSize.columns OR now.rows != lastSize.rows:
    • lastSize ← now
    • messages.Send(ConsoleMessage::Resize(now)) (ignore send errors)
  3. Return

Compare hub.lastSize to QuerySize(); on change update cache and invoke hub.OnResize(now) synchronously.

Delegates to Platform.Terminal.PollResize then optional tick messages for controls—pairs with Console controls.

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