spawn/cli/src
A 2413db6ade
fix: truncate picker lines to terminal width to prevent redraw corruption (#1772)
Long labels (e.g. "Claude Code on GCP Compute Engine -- spawn-trial-000-ahmed")
wrap to multiple rows, but the redraw logic uses a fixed line count to cursor-up.
This causes old content to pile up on every arrow-key press.

Query terminal width via `stty size` and truncate all lines to fit within
a single row, with a 1-char margin to prevent auto-wrap edge cases.

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-22 17:22:46 -08:00
..
__tests__ fix: extract flags module to fix KNOWN_FLAGS drift in tests (#1757) 2026-02-22 18:10:07 -05:00
aws security: sanitize TERM env var in interactiveSession to prevent shell injection (#1763) 2026-02-22 18:11:09 -05:00
daytona security: sanitize TERM env var in interactiveSession to prevent shell injection (#1763) 2026-02-22 18:11:09 -05:00
digitalocean security: sanitize TERM env var in interactiveSession to prevent shell injection (#1763) 2026-02-22 18:11:09 -05:00
fly security: sanitize TERM env var in interactiveSession to prevent shell injection (#1763) 2026-02-22 18:11:09 -05:00
gcp security: sanitize TERM env var in interactiveSession to prevent shell injection (#1763) 2026-02-22 18:11:09 -05:00
hetzner security: sanitize TERM env var in interactiveSession to prevent shell injection (#1763) 2026-02-22 18:11:09 -05:00
local chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
shared feat: add retry logic for failure-prone orchestration operations (#1764) 2026-02-22 15:20:16 -08:00
sprite chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
commands.ts feat: add delete sub-menu (destroy/remove) and spawn kill alias (#1765) 2026-02-22 15:23:49 -08:00
flags.ts fix: extract flags module to fix KNOWN_FLAGS drift in tests (#1757) 2026-02-22 18:10:07 -05:00
guidance-data.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
history.ts feat: add delete sub-menu (destroy/remove) and spawn kill alias (#1765) 2026-02-22 15:23:49 -08:00
index.ts feat: add delete sub-menu (destroy/remove) and spawn kill alias (#1765) 2026-02-22 15:23:49 -08:00
manifest.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
picker.ts fix: truncate picker lines to terminal width to prevent redraw corruption (#1772) 2026-02-22 17:22:46 -08:00
security.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00