Skip to content

fix(cli): align Playbook click cursor when slid - #1322

Merged
edwin-zvs merged 1 commit into
mainfrom
fix-playbook-click-cursor
Sep 3, 2026
Merged

fix(cli): align Playbook click cursor when slid#1322
edwin-zvs merged 1 commit into
mainfrom
fix-playbook-click-cursor

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • map Playbook clicks and drag selection using the body width from the rendered frame
  • preserve the full logical wrap width when the terminal-focused Playbook is slid and clipped to its pane
  • add a regression test proving a click on a wrapped continuation row lands at the painted source offset

Testing

  • cargo test -p construct-cli -- --test-threads=1 (1463 unit tests + reconnect integration test)
  • cargo build

Visuals

  • Not included: the regression is a transient caret-coordinate offset and is covered deterministically by the click-to-source-offset test.

@edwin-zvs
edwin-zvs merged commit 1d3707d into main Sep 3, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the fix-playbook-click-cursor branch September 3, 2026 14:54
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