Skip to content

Add clipboard shortcuts and text selection to menu inputs#161

Open
Purdze wants to merge 6 commits intomasterfrom
fix/menu-paste
Open

Add clipboard shortcuts and text selection to menu inputs#161
Purdze wants to merge 6 commits intomasterfrom
fix/menu-paste

Conversation

@Purdze
Copy link
Copy Markdown
Collaborator

@Purdze Purdze commented Apr 12, 2026

Summary

  • Ctrl+V pastes from clipboard
  • Ctrl+C copies the focused field's text
  • Ctrl+A selects all text in the focused field
  • Ctrl+Z undoes the last edit (50-entry per-field stack)
  • Double-clicking a focused field selects all
  • Long text now scrolls so the end stays visible and is clipped to the field bounds
  • Track winit modifier state via WindowEvent::ModifiersChanged
  • Add arboard dependency for clipboard access

Purdze added 5 commits May 3, 2026 12:30
- Ctrl+V pastes from clipboard
- Ctrl+A marks the focused field as all-selected
- Ctrl+C copies the focused field's text
- Ctrl+Z pops the per-field undo stack (up to 50 entries)
- Double-clicking a focused field marks it as all-selected
- Typing or backspace with all-selected replaces/clears the field
- Track winit modifier state via WindowEvent::ModifiersChanged
@Purdze Purdze force-pushed the fix/menu-paste branch from 695f061 to 9121c13 Compare May 3, 2026 12:07
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