Skip to content

feature/close by clicking outside - #23

Merged
cboone merged 4 commits into
mainfrom
feature/close-by-clicking-outside
Feb 9, 2026
Merged

feature/close by clicking outside#23
cboone merged 4 commits into
mainfrom
feature/close-by-clicking-outside

Conversation

@cboone

@cboone cboone commented Feb 9, 2026

Copy link
Copy Markdown
Owner
  • build: add Makefile with test target
  • feat: close popup on click outside content area

Detect out-of-bounds mouse coordinates in the viewer and break the main
loop, allowing the popup to close when the user clicks outside it.
Copilot AI review requested due to automatic review settings February 9, 2026 02:40
* main:
  docs: add Copilot instruction for awk string comparison in sort
  docs: add Copilot instructions for cross-file link checks
  docs: fix Scrut URL and remove stale line count
  chore: add workmux config
  build: add Makefile with test target
  docs: update CLAUDE
  feat: sort bindings by key text within each group
  feat: make search case-sensitive
  refactor: combine duplicate ENTER and DOWN handlers in search mode
  feat: exit search mode on down arrow key

# Conflicts:
#	.claude/CLAUDE.md

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds mouse-driven dismissal behavior to the tmux popup viewer and introduces a make test entrypoint for running Scrut tests, with accompanying documentation updates.

Changes:

  • Add mouse column tracking and an out-of-bounds click check to close the popup when clicking outside.
  • Add a Makefile with a test target that runs the existing Scrut test suite.
  • Update internal docs to reference make test and document the outside-click behavior.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
scripts/viewer.sh Extends mouse click tokens to include column and breaks the main loop on out-of-bounds clicks.
Makefile Adds a test target to run scrut test -w . tests.
.claude/CLAUDE.md Updates testing instructions to use make test (via the new Makefile).
docs/plans/done/2026-02-08-close-popup-on-outside-click.md Documents the outside-click feature and intended implementation details.

Comment thread scripts/viewer.sh
Comment thread docs/plans/done/2026-02-08-close-popup-on-outside-click.md
Copilot AI review requested due to automatic review settings February 9, 2026 02:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread docs/plans/done/2026-02-08-close-popup-on-outside-click.md
Comment thread docs/plans/done/2026-02-08-close-popup-on-outside-click.md
@cboone
cboone merged commit dc401c6 into main Feb 9, 2026
7 checks passed
@cboone
cboone deleted the feature/close-by-clicking-outside branch February 9, 2026 02:56
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.

2 participants