Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

made webterm use keycodes to detect special/control keys #1505

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

karroffel
Copy link
Contributor

This patch changes the history/input handling code of the
webterminal to use keycodes instead of the name of keys.

Using direct keycodes means that different keyboard layouts or
custom input methods will work properly.

The code of the key-mapping object is taken from the mousetrap
library which is licensed under the Apache-2.0 license.

This patch changes the history/input handling code of the
webterminal to use keycodes instead of the name of keys.

Using direct keycodes means that different keyboard layouts or
custom input methods will work properly.

The code of the key-mapping object is taken from the `mousetrap`
library which is licensed under the Apache-2.0 license.
@pfrazee
Copy link
Member

pfrazee commented Feb 11, 2020

Tested, works great! Thanks!!

@pfrazee pfrazee merged commit 8cc16af into beakerbrowser:blue-hyperdrive10 Feb 11, 2020
@karroffel karroffel deleted the webterm-keycode branch February 11, 2020 17:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants