Skip to content

Remove the F2 mouse-capture toggle - #118

Merged
github-actions[bot] merged 1 commit into
mainfrom
remove-mouse-capture-toggle
Aug 1, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
remove-mouse-capture-toggle

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Removes the F2 keybinding, SemanticCommand::ToggleMouseCapture, and terminal::set_mouse_capture() added in Add F2 to toggle mouse capture for terminal-native copy #116.
  • Terminals already let you hold Shift (Option on iTerm2) while dragging to bypass the app's mouse capture for native selection/copy, so the dedicated toggle is unnecessary.

Test plan

  • cargo build -p forge-tui
  • cargo test -p forge-tui --lib — 670 passed, 0 failed
  • cargo clippy -p forge-tui --all-targets — clean
  • cargo fmt --check — clean

Revert the F2 binding, SemanticCommand::ToggleMouseCapture, and
terminal::set_mouse_capture added in #116.
@mohitranka
mohitranka force-pushed the remove-mouse-capture-toggle branch from e6df562 to 2d03e80 Compare August 1, 2026 11:34
@github-actions
github-actions Bot enabled auto-merge (squash) August 1, 2026 11:34
@github-actions
github-actions Bot merged commit 19cfc5b into main Aug 1, 2026
6 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
Revert the F2 binding, SemanticCommand::ToggleMouseCapture, and
terminal::set_mouse_capture added in #116.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Revert the F2 binding, SemanticCommand::ToggleMouseCapture, and
terminal::set_mouse_capture added in #116.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Revert the F2 binding, SemanticCommand::ToggleMouseCapture, and
terminal::set_mouse_capture added in #116.
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