Skip to content

feat: redraw status --watch in place on a terminal - #25

Merged
wangnan0916 merged 1 commit into
mainfrom
cursor/status-watch-redraw
Sep 18, 2026
Merged

wangnan0916 merged 1 commit into
mainfrom
cursor/status-watch-redraw

Conversation

@wangnan0916

@wangnan0916 wangnan0916 commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

What changed

ssh-forward status --watch on a terminal now clears the visible screen and redraws the latest snapshot instead of appending each change. The cursor is hidden while watching and restored on exit. --json and redirected output still append each change so scripts can keep reading a stream.

Verification

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • Documentation reflects user-visible changes

Appended snapshots made the watch view hard to scan. Clear the visible screen before each changed frame, and keep JSON and redirected output as a stream.

Co-authored-by: Cursor <cursoragent@cursor.com>
@wangnan0916
wangnan0916 marked this pull request as ready for review September 18, 2026 05:32
@wangnan0916
wangnan0916 merged commit 2af3675 into main Sep 18, 2026
4 checks passed
@wangnan0916
wangnan0916 deleted the cursor/status-watch-redraw branch September 18, 2026 05:32
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