wraith/internal/ssh
Vantz Stockwell c3beb6df6b
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m4s
fix: revert CWD tracker from readLoop — corrupts ANSI escape sequences
ProcessOutput() in the readLoop was processing every byte of SSH output,
looking for OSC 7 sequences. When these sequences split across read
boundaries (common with 32KB buffer), partial sequences leaked through
and corrupted xterm.js parser state — producing red/green color blocks
instead of text, and characters rendering at wrong widths.

Reverted readLoop to direct passthrough (v0.7.3 behavior). Also removed
shell integration injection (stty -echo + PROMPT_COMMAND) which caused
terminal mode disruption on macOS. Also removed 4px xterm padding that
could cause fitAddon cell width miscalculation.

CWD tracking will be re-implemented via a separate SSH exec channel
that polls pwd without touching the terminal data stream.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 14:14:52 -04:00
..
cwd_test.go Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
cwd.go Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
hostkey_test.go Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
hostkey.go Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
service_test.go feat: wire 4 backend services — host key verification, CWD tracking, session manager, workspace restore 2026-03-17 13:41:58 -04:00
service.go fix: revert CWD tracker from readLoop — corrupts ANSI escape sequences 2026-03-17 14:14:52 -04:00