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

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

Merged
pfrazee merged 1 commit intobeakerbrowser:blue-hyperdrive10from
karroffel:webterm-keycode
Feb 11, 2020
Merged

made webterm use keycodes to detect special/control keys#1505
pfrazee merged 1 commit intobeakerbrowser:blue-hyperdrive10from
karroffel:webterm-keycode

Conversation

@karroffel
Copy link
Copy Markdown
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
Copy Markdown
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