Skip to content

Stabilize chat cursor rendering and activity tracking#197

Merged
andyrewlee merged 5 commits intomainfrom
cursor
Mar 10, 2026
Merged

Stabilize chat cursor rendering and activity tracking#197
andyrewlee merged 5 commits intomainfrom
cursor

Conversation

@andyrewlee
Copy link
Copy Markdown
Owner

@andyrewlee andyrewlee commented Mar 9, 2026

Summary

The new approach has two main parts:

Stable cursor tracking: amux remembers where the chat input prompt cursor is (the "stable cursor") and pins display there. During streaming, only cursor positions in the bottom input band are trusted; when idle, the full viewport is trusted. This replaces the blanket time-based suppression.

Hardware cursor promotion: the terminal cursor is promoted to a real tea.Cursor (hardware cursor) for native blink rendering, with awareness of overlays and toasts that might occlude it.

Quality Checklist

  • Ran make devcheck locally.
  • Ran make lint-strict-new locally for changed code.
  • If UI/rendering changed, ran make harness-presets.
  • If tmux/e2e changed, ran go test ./internal/tmux ./internal/e2e.

Open with Devin

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 7 additional findings.

Open in Devin Review

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 8 additional findings.

Open in Devin Review

@andyrewlee andyrewlee merged commit a79d22e into main Mar 10, 2026
3 checks passed
@andyrewlee andyrewlee deleted the cursor branch March 10, 2026 20:50
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