Skip to content

test: add terminal behavior regression suite#44

Open
noodanee wants to merge 1 commit into
vercel-labs:mainfrom
noodanee:test/terminal-behavior
Open

test: add terminal behavior regression suite#44
noodanee wants to merge 1 commit into
vercel-labs:mainfrom
noodanee:test/terminal-behavior

Conversation

@noodanee
Copy link
Copy Markdown

Summary

  • add a Zig terminal behavior regression suite covering cursor movement, erasing/insertion, SGR, scroll margins, modes, soft reset, and OSC title handling
  • make zig build test run both the existing terminal tests and the new behavior tests through a single test root
  • fix two core behavior gaps found by the suite: alternate screen clearing with the current erase background and DECSTR reset of saved cursor/style state
  • update the packaged WASM artifact after the Zig core change

Test Plan

  • zig build test --summary all
  • zig build -Doptimize=ReleaseSmall && diff -q zig-out/bin/wterm.wasm packages/@wterm/core/wasm/wterm.wasm
  • pnpm test
  • pnpm build
  • pnpm type-check
  • pnpm lint
  • pnpm format:check
  • git diff --check main...HEAD

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 24, 2026

@noodanee is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant