Skip to content

feat: Implement keybinding for copying rev to clipboard#196

Open
expipiplus1 wants to merge 1 commit into
Cretezy:mainfrom
expipiplus1:push-zxkwmuvpvxoq
Open

feat: Implement keybinding for copying rev to clipboard#196
expipiplus1 wants to merge 1 commit into
Cretezy:mainfrom
expipiplus1:push-zxkwmuvpvxoq

Conversation

@expipiplus1

Copy link
Copy Markdown

Press c to copy the revision hash of the selected change to the system clipboard

Comment thread src/ui/log_tab.rs Outdated
Comment thread README.md Outdated
@istudyatuni

Copy link
Copy Markdown
Collaborator

I'm not sure that this is needed. You can press Shift (on Linux), and after this you can select and copy anything

@dotdash

dotdash commented Feb 3, 2026

Copy link
Copy Markdown
Collaborator

I'm not sure that this is needed. You can press Shift (on Linux), and after this you can select and copy anything

some of us prefer a keyboard-only workflow and this would fit in. I'll be happy to accept it in blazingjj

@expipiplus1

Copy link
Copy Markdown
Author

I added y/Y for change and commit id, and used crossterm

Add crossterm 0.29.0 dependency for clipboard support
@dotdash
dotdash force-pushed the push-zxkwmuvpvxoq branch from 5c03338 to 4d530c9 Compare March 2, 2026 09:37
@dotdash

dotdash commented Mar 2, 2026

Copy link
Copy Markdown
Collaborator

I guess there was another lock file update in a different PR that makes the workflows fail?

The explicit dependency on crossterm should not be needed. It's available as ratatui::crossterm

@dotdash dotdash left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Build needs to be fixed

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.

3 participants