Open
Conversation
Replace ASCII-only CharCodes paste with layout-aware system supporting 76 keyboard layouts (US, UK, German, French, Nordic, Cyrillic, Arabic, Greek, Hebrew, Georgian, Armenian, Thai, Vietnamese, and more). Changes: - Add layouts.generated.ts with 76 XKB-derived layout maps - Add layouts.ts with browser Keyboard API auto-detection and event-based learning of character mappings - Replace CharCodes-based paste with layout-aware pasteText() using modifier-first key sequence for Windows compatibility - Add targetKeyboardLayout and pasteSpeed storage/atoms for future settings UI - Add learnFromKeyEvent() to keyboard handler to improve auto-detection accuracy over time
Add a modal dialog that shows clipboard text before pasting, with progress bar and cancel support during paste. Accessible via: - Keyboard submenu: 'Paste with Preview' entry - Global shortcut: Ctrl+Shift+Insert The dialog uses the layout-aware paste system from the keyboard layouts PR, with configurable paste speed and proper modifier-first key sequencing. Keyboard capture is paused while the dialog is open so users can interact with the modal naturally, then cleanly resumes when closed. Depends on: feat-keyboard-layouts branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a modal dialog that shows clipboard content before sending it to the
remote machine, with a progress indicator and cancel button.
PasteWithDialogcomponent renders a modal previewing clipboard textbefore typing it, with real-time progress and ability to cancel mid-paste
Files:
Depends on # (keyboard layouts).
https://github.com/MichaelRyom/NanoKVM-USB/tree/upstream/feat-keyboard-layouts