1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00
Commit Graph

1837 Commits

Author SHA1 Message Date
Wez Furlong
223ba32de2
x11: fix handling of high-speed key events
test scenario is:

```
bash -c "sleep 5; for((i=0;i<30;i++)); do xdotool keydown --delay 0 Shift_L keydown --delay 0 9 keyup --delay 0 Shift_L keyup --delay 0 9; done"
```

That should cause a series of `(` characters to be emitted, but prior to
this commit is was usually mostly `9`'s.

What's changing here is:
* We copy the pertinent fields from the last xcb StateNotify event.
  That ostensibly has the current modifier and layout state, but
  because it comes from the X server, it doesn't factor in knowledge
  from the IME.
* When processing an XCB key event, compute the current modifier
  mask and override the XKB state with it.
* Now XKB will produce correct information about the key syms
* Restore the modifier state from the saved StateNotify information.

refs: https://github.com/wez/wezterm/pull/4151
refs: https://github.com/wez/wezterm/issues/4615
refs: https://github.com/fcitx/fcitx5/issues/893
refs: https://github.com/ibus/ibus/issues/2600
refs: https://github.com/wez/wezterm/issues/3840
2024-01-24 08:04:39 -07:00
Wez Furlong
b3c996016e
docs: changelog for #4828
closes: https://github.com/wez/wezterm/issues/4828
2024-01-24 06:53:35 -07:00
Wez Furlong
73c8bbb8e0
docs: changelog and update for #4426 2024-01-23 06:30:32 -07:00
Wez Furlong
74e2c79d9c
docs for #4839 and apply to other areas with similar issue
refs: https://github.com/wez/wezterm/pull/4839
2024-01-23 05:55:18 -07:00
Wez Furlong
76028ca154
docs: changelog for #2373 #4339 2024-01-21 18:02:15 -07:00
Wez Furlong
5e9688bd4e
Update Symbols Nerd Font Mono to 3.1.1
Procedure is:

* Download the `NerdFontsSymbolsOnly.zip` release asset
* Extract the font into assets/fonts
* Run the codegen to update nerdfonts_data.rs:
  `cd termwiz/codgen ; cargo run`
* Apply formatting: `cd ../../ ; cargo +nightly fmt`
* Update the list of symbols in the docs:
  * edit `docs/config/lua/wezterm/nerdfonts.md`
  * delete the table
  * Run the embedded vim command that will regenerate the table

refs: https://github.com/wez/wezterm/pull/4656
2024-01-21 16:25:04 -07:00
Wez Furlong
72fae51b00
x11/wayland: avoid including keysym name in compose cursor
refs: https://github.com/wez/wezterm/issues/4511
2024-01-21 15:49:03 -07:00
Wez Furlong
b0671294d1
docs: changelog for #3698, #3699 2024-01-21 14:37:22 -07:00
Eric Berquist
8cb77e13c8 Fix example comment about switching zero for Fira fonts 2024-01-21 14:22:32 -07:00
Benjamin Habié
669f75f94e docs: shell-integration: Document activation by default on Arch Linux 2024-01-21 14:15:04 -07:00
Wez Furlong
13b2f2bcb5
docs: changelog for #4505 2024-01-21 14:14:00 -07:00
Wez Furlong
fe24169939
docs: changelog for #4567 2024-01-21 14:11:09 -07:00
rawnly
521b7fb7ef docs: updated docs 2024-01-21 14:06:01 -07:00
Federico
b0a392b173 Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
32b0c0361a Update SetWindowLevel.md
Co-authored-by: Mike Duminy <4092035+mikeduminy@users.noreply.github.com>
2024-01-21 14:06:01 -07:00
rawnly
61786b26f3 docs: fixed spacing 2024-01-21 14:06:01 -07:00
rawnly
2dfeeb37a5 docs: docs update with macos warning 2024-01-21 14:06:01 -07:00
Federico
69f64dbb66 Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
7bc24ebb4d Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
1162cb764d Update docs/config/lua/keyassignment/ToggleAlwaysOnTop.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
7805ebefa7 Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
15da320b15 Update docs/config/lua/keyassignment/ToggleAlwaysOnBottom.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
9997e2beba Update docs/config/lua/keyassignment/ToggleAlwaysOnBottom.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
Federico
a3f9fc3dd5 Update docs/config/lua/keyassignment/ToggleAlwaysOnTop.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-01-21 14:06:01 -07:00
rawnly
2795cf0c4a docs: added window level options 2024-01-21 14:06:01 -07:00
rawnly
fd99a84e61 docs: ToggleFloatingWindow docs
Signed-off-by: rawnly <rawnly@users.noreply.github.com>
2024-01-21 14:06:01 -07:00
Andrii
fed9893a09 Update workspaces.md
remove typo.
2024-01-21 14:01:55 -07:00
Wez Furlong
c607c6a59c
allow rgba for all window_frame colors
refs: https://github.com/wez/wezterm/issues/3580
2024-01-20 10:06:02 -07:00
Wez Furlong
05eadb7cbb
docs: changelog for #4809 #4810 2024-01-19 08:53:37 -07:00
Wez Furlong
9181d010ff
docs: remove centos 7
It is no longer buildable on GH without extreme effort.
2024-01-18 06:12:39 -07:00
Wez Furlong
6c36a4dda2
docs: fix sources.list 2024-01-11 07:36:35 -07:00
Wez Furlong
dc32d84cd2
docs: changelog for #4775 #4770 2024-01-11 06:56:56 -07:00
Wez Furlong
09b43da59d
docs: changelog for #4151 #3840 2024-01-11 06:48:40 -07:00
Wez Furlong
90d8feaf6d
docs: show how to use new apt repo 2024-01-10 17:07:38 -07:00
Wez Furlong
8bdcf84ef7
Experiment with hosting .debs on gemfury 2024-01-10 15:54:36 -07:00
Wez Furlong
1c0901957d
docs: changelog for #4730 2024-01-08 18:23:19 -07:00
Wez Furlong
9fc89e621f
de-fang paste payloads by removing bracketed paste sequences from them
refs: https://github.com/wez/wezterm/issues/4765
2024-01-08 18:17:22 -07:00
Wez Furlong
e5274decb0
docs: fix list indenting for the background config
mkdocs is much more strict about the indentation level than mdbook
2024-01-03 08:14:03 -07:00
Daniel Kongsgaard
e3cd2e93d0 Apply suggestions from code review
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-12-03 12:40:28 -07:00
Danielkonge
254034c512 Add wezterm.to_string function 2023-12-03 12:40:28 -07:00
Wez Furlong
bb871b88fd
docs: changelog for #4578 2023-12-02 08:51:47 -07:00
Wez Furlong
ac230873ff
docs: changelog for #4420 2023-12-02 08:40:02 -07:00
Wez Furlong
15489249b8
docs: fixup list in ActivateCommandPalette 2023-12-02 08:33:42 -07:00
Wez Furlong
9fc8dc09f2
docs: changelog for #4595 2023-12-01 07:58:37 -07:00
Andrew Stone
28ac1c845b
Adds config option for command palette rows (#4595)
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-12-01 07:56:41 -07:00
Wez Furlong
d7a2e258d0
docs: changelog for #4605 2023-12-01 07:52:09 -07:00
Wez Furlong
f07cc83716
ci: s/fedora36/fedora39/
CI just failed to build fedora36, which is now EOL, and fedora39 is out.
2023-11-24 20:20:04 -07:00
Wez Furlong
6a58a5ce94
deps: harfbuzz -> 8.3.0 2023-11-22 17:41:38 -07:00
Wez Furlong
d419d9a543
docs: changelog for #4564 2023-11-22 14:57:06 -07:00
Wez Furlong
f4fb227e11
docs: changelog for #4565 2023-11-22 14:56:35 -07:00