1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-28 07:55:03 +03:00
wezterm/window/src
Wez Furlong 43d9392c52 window: x11/wayland: extract utf8 version of key from key state
Previously, we'd take a couple of guesses at how to map the key
to a utf8 value, but! the keyboard state has a method that can tell
us what to use.

This is important in non-latin keymaps where, for example, the `c`
key generates cyrillic small letter es and we'd end up sending
CTRL + that through to the terminal when CTRL is held down.

If we get the utf8 string from the keyboard layer then we get
CTRL+c instead, and that is what we want.

refs: https://github.com/wez/wezterm/issues/678
2022-01-02 11:16:52 -07:00
..
bitmaps add some more metrics around get_lines_with_hyperlinks_applied + others 2021-08-01 14:50:50 -07:00
os window: x11/wayland: extract utf8 version of key from key state 2022-01-02 11:16:52 -07:00
configuration.rs remove the config bridge and have window -> config directly 2021-03-23 21:56:57 -07:00
connection.rs add audible_bell config option 2021-09-26 12:55:19 -07:00
egl.rs fix some unused/unread field warnings 2021-12-10 08:18:36 -07:00
lib.rs gui: box model style layout/render for fancy tab bar 2021-12-28 00:14:54 -07:00
spawn.rs window: log/retry self-pipe-writes 2021-05-23 19:07:48 -07:00