Skip to content

add yank key in large text view overlay#36

Merged
robince merged 1 commit into
mainfrom
yank-in-cell-view
Apr 17, 2026
Merged

add yank key in large text view overlay#36
robince merged 1 commit into
mainfrom
yank-in-cell-view

Conversation

@robince
Copy link
Copy Markdown
Owner

@robince robince commented Apr 17, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a y (“yank”) keybinding to the expanded cell reader overlay so users can copy the currently viewed cell value to the clipboard, consistent with the existing table-pane copy behavior.

Changes:

  • Add y handling in the expanded reader key handler to copy the current cell’s value.
  • Introduce copyReaderCellValue() to copy the value for the reader’s active column/row context.
  • Update UI hints/help text and add a test validating clipboard copy + status message while keeping the reader open.

Reviewed changes

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

File Description
internal/ui/model.go Implements reader-overlay y copy behavior and updates bottom bar/footer/help hints accordingly.
internal/ui/model_test.go Adds a unit test to verify y copies the reader’s current cell value and preserves overlay state.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@robince robince merged commit 2e99a04 into main Apr 17, 2026
7 checks passed
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