Skip to content

v2.9.0: Remove ClearScreen.index from the wire format #151

Closed

Description

@analeis

Per-number clears carried an index the UI had to reconcile against the currently shown number. With continuous replacement there are no per-number clears at all, so the field was dead data on both sides of the bridge.

Delivered

  • Dropped index from Rust ClearScreen and SessionStep::ClearScreen, the TS ClearScreen type, the WASM step type, all emitters and the App handler.
  • Removed the driver's kind: "clear" event and its collision-prone branch.
  • Replaced the vacuous WASM test (which used a fabricated look-alike struct) with one round-tripping the real SessionStep::ClearScreen shape and asserting no index key crosses the wire.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions