Skip to content

feat(editor): click to position the comment cursor - #35

Closed
emo-eth wants to merge 2 commits into
plannotator:mainfrom
emo-eth:feat/mouse-cursor
Closed

feat(editor): click to position the comment cursor#35
emo-eth wants to merge 2 commits into
plannotator:mainfrom
emo-eth:feat/mouse-cursor

Conversation

@emo-eth

@emo-eth emo-eth commented Sep 3, 2026

Copy link
Copy Markdown

Summary

  • enable button-only mouse capture in the full and Rust Lite editors
  • move the comment cursor on left-click across wrapping, scrolling, blank lines, wide text, and grapheme clusters
  • consume SGR and legacy mouse reports without leaking malformed input into comments
  • keep TypeScript and Rust terminal layout behavior in parity

Verification

  • bun test — 78 passed
  • bun run typecheck
  • cargo +1.96.1 test --manifest-path rust/Cargo.toml — 72 passed
  • cargo +1.96.1 fmt --manifest-path rust/Cargo.toml --check
  • rustup run 1.96.1 bash scripts/parity-lite.sh — 407 observables, 95 screens, zero divergences / 1 deliberate
  • exercised click-to-position through an actual Herdr popup in both full and Rust Lite runtimes

@emo-eth emo-eth closed this Sep 4, 2026
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