Skip to content

fix(terminal): disable local echo on alternate screen - #1372

Merged
ZacharyZcR merged 1 commit into
Termix-SSH:dev-2.8.0from
ZacharyZcR:fix/support-1230-local-echo-alt-screen
Aug 31, 2026
Merged

fix(terminal): disable local echo on alternate screen#1372
ZacharyZcR merged 1 commit into
Termix-SSH:dev-2.8.0from
ZacharyZcR:fix/support-1230-local-echo-alt-screen

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Summary

  • bypass local echo prediction while an alternate-screen application is active
  • reset pending predictions when entering the alternate screen
  • limit rollback erasure to the predicted cells instead of erasing the rest of the line

Verification

  • npx vitest run --project frontend src/ui/lib/terminal-local-echo.test.ts
  • npx prettier --check src/ui/lib/terminal-local-echo.ts src/ui/lib/terminal-local-echo.test.ts src/ui/features/terminal/Terminal.tsx
  • npm run type-check

Fixes Termix-SSH/Support#1230

@ZacharyZcR
ZacharyZcR merged commit 629080d into Termix-SSH:dev-2.8.0 Aug 31, 2026
3 checks passed
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