Commit Graph
2279 Commits
Author SHA1 Message Date
Christian Duerr b27077085e Fix typo in config docs
Closes #7647.
2024-03-19 02:20:53 +01:00
Christian Duerr 172a2882cd Fix env variable overrides through CLI
This fixes an issue where all CLI environment variables would replace
existing configuration file variables instead of merging the two maps
together.

Fixes #7618.
2024-03-19 02:20:53 +01:00
Christian Duerr 9458550c77 Fix inline search expanding across newlines
Closes #7587.
2024-03-19 02:20:53 +01:00
Christian DuerrandKirill Chibisov 915aa65571 Fix debug.renderer="gles2pure" documentation
Patch 5685ce8bf changed the allowed values of the `debug.renderer` enum,
prohibiting the usage of `_` in the `Gles2Pure` variant. This patch
updates the documentation to correct for that.

Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
2024-03-19 02:20:53 +01:00
Christian Duerr ecd3bd7cbe Reduce allocations during keyboard input 2024-03-19 02:20:53 +01:00
Christian Duerr fe2a3c5667 Alacritty version 0.13.1 alacritty_terminal_v0.21.0 v0.13.1 2024-01-08 16:47:29 +01:00
WuerfelDevandChristian Duerr 66a078c10b Fix manpage string escapes
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2024-01-08 16:47:29 +01:00
Christian Duerr 57da0bf903 Alacritty version 0.13.1-rc1 v0.13.1-rc1 alacritty_terminal_v0.21.0-rc1 2024-01-06 08:59:54 +01:00
James McCoy 6e7895b2af Fix serde tests without default features 2024-01-06 08:59:54 +01:00
Kirill Chibisov 3a2b959f8d Bump winit to 0.29.9
Fixes #7559.
Fixes #7533.
2024-01-06 08:59:54 +01:00
Kirill Chibisov 53e7059613 Ignore null values in alacritty migrate
This should help with broken YAML configurations by throwing nulls
away, which are not representable in toml.
2024-01-06 08:59:54 +01:00
Omar Magdy 5955b905dc Add vi search paste bindings
Closes #7511.
2024-01-06 08:59:54 +01:00
Christian Duerr 4fb82778b2 Fix replacing optional fields
This fixes an issue with the default `SerdeReplace` implementation where
it would never recurse through options but always replace the entire
option with the new value.

Closes #7518.
2024-01-06 08:59:54 +01:00
Lars Francke a00cb3edc6 Fix number-based mouse bindings
The toml migration introduced a regression which stopped numbered key
binding's from working. This patch implements the required number type
to make things work again.

Fixes #7527.
2024-01-06 08:59:54 +01:00
Kirill Chibisov f5ed831c30 Bump winit to 0.29.8
Fixes #7514.
Fixes #7502.
Fixes #7494.
Fixes #7474.
Fixes #7472.
2024-01-06 08:59:54 +01:00
Kirill Chibisov 3d858c7c8d Remove note about versions pre 0.13.0 2024-01-06 08:59:54 +01:00
Kirill Chibisov 22abb78c35 Powerline glyphs being cut for narrow fonts
Fixes #7470.
2024-01-06 08:59:54 +01:00
Kirill Chibisov e297c6bf0c Send associated text for shifted numbers with kitty
Also fix the wrong ordering of base and shifted keys.

Fixes #7492.
2024-01-06 08:59:54 +01:00
Kirill Chibisov 53927d686a Don't substitute \n in char bindings
This broke unintentionally due to routing paste-like input
via paste function.

Fixes #7476.
2024-01-06 08:59:54 +01:00
Hyper 1bed41fc76 Passthrough potential errors for EventLoopSender 2024-01-06 08:59:54 +01:00
Kirill Chibisov 1991496eb1 Fix inability to bind Alt+Control on Windows
Fixes #7506.
2024-01-06 08:59:54 +01:00
Kirill Chibisov 9957597e22 Use pre-composed key for Alt bindings on macOS
Fixes #7475.
2024-01-06 08:59:54 +01:00
Philip Dubé 01d7640569 Remove direct dependency on once_cell
With MSRV 1.70, std now contains the necessary parts.
2024-01-06 08:59:54 +01:00
Christian Duerr 047152acb8 Fix alacritty migrate with nonexistent imports
Fixes #7473.
2024-01-06 08:59:54 +01:00
Hyper 8465c2e6df Derive Clone for EventLoopSender 2024-01-06 08:59:54 +01:00
Kirill Chibisov 882954cb48 Mark SimpleFullscreen as macOS only startup mode 2024-01-06 08:59:54 +01:00
Christian Duerr 78fa4d6feb Alacritty version 0.13.0 v0.13.0 alacritty_terminal_v0.20.0 2023-12-27 22:13:35 +01:00
Kirill Chibisov 34d170c963 Bump winit to 0.29.7
This also bumps other dependencies along the way.

Fixes #2886.
2023-12-27 22:13:35 +01:00
Kirill Chibisov 38fcdb600a Apply modifiers before presses in kitty protocol
While this doesn't handle releases with multiple identical modifiers
pressed, the release can't work reliable anyway, since one modifier
could be pressed before focusing the window, thus tracking modifiers
based on the keysym values won't work as it was suggested by kitty
author.

Links: https://github.com/kovidgoyal/kitty/issues/6913
2023-12-27 22:13:35 +01:00
Christian Duerr b8acfdae19 Alacritty version 0.13.0-rc2 alacritty_terminal_v0.20.0-rc2 v0.13.0-rc2 2023-12-22 10:42:02 +01:00
Kirill Chibisov c75cda36f2 Keep IME always enabled on X11
Fixes #7195.
2023-12-22 10:42:02 +01:00
Kirill Chibisov 476bebdadc Bump winit to 0.29.5
Fixes #7449.
2023-12-22 10:42:02 +01:00
Kirill Chibisov 813c8394de Account for option_as_alt when doing kitty protocol
By default `Alt` is not a real `Alt` on macOS, so we shouldn't treat
it as a modifier.

Fixes #7443.
2023-12-22 10:42:02 +01:00
Kirill Chibisov 5d94e9ebee Fix the order of ClearSelection in Vi mode
Fixes #7438.
2023-12-22 10:42:02 +01:00
Christian Duerr 53290c9e10 Add link to rendered config docs
This adds a link to alacritty.org's rendered configuration file
documentation.
2023-12-22 10:42:02 +01:00
Christian Duerr ada35aeb70 Alacritty version 0.13.0-rc1 v0.13.0-rc1 alacritty_terminal_v0.20.0-rc1 2023-12-14 03:46:34 +00:00
Kirill Chibisov 0fd04c371a Bump crossfont to 0.7.0 2023-12-14 07:15:40 +04:00
Kirill Chibisov c0c267d60e Fix message bar not damaged when the same size
The regression was added due to `y` coordinate in OpenGL differs to
`y` inside the damage rectangles.

Fixes: 40160c5d (Damage only terminal inside `alacritty_terminal`)
2023-12-08 23:25:05 +04:00
Kirill Chibisov e12c750edb Don't emit text for NamedKey without text repr
When the key doesn't have textual representation we shouldn't emit
the text for them, since they are processed via bindings.

Also, fix the logic to handle named keys with disambiguate without
special modes/modifiers.

Fixes #7423.
2023-12-08 09:28:50 +04:00
Kirill Chibisov 1a143d11d3 Fix trigger of normal bindings in mouse mode
We should ensure that the `Shift` is actually pressed when trying to
prefer regular bindings instead of the ones if we had Shift applied.

Fixes: 500b696ca8 (Prefer exact matches for bindings in mouse mode)
Fixes #7415.
2023-12-08 09:09:01 +04:00
Kirill Chibisov e34762beae Update to crossfont 0.6.0 2023-12-08 01:33:33 +04:00
Kirill Chibisov cb03806e2a Implement kitty's keyboard protocol
The protocol enables robust key reporting for the applications, so
they could bind more keys and the user won't have collisions with
the normal control keys.

Links: https://sw.kovidgoyal.net/kitty/keyboard-protocol
Fixes #6378.
2023-12-06 09:26:07 +04:00
Kirill Chibisov 7c9d9f3b16 Fix chars usage inside the mouse bindings
Fixes #7413.
2023-12-06 01:36:28 +04:00
Kirill Chibisov f94f4fd4be Don't use ::* for enum variants in bindings 2023-12-03 08:11:28 +04:00
Kirill Chibisov 28364792b3 Fallback to underline shader when dotted fails
Some hardware is just bad.

Fixes #7404.
2023-12-02 03:52:51 +04:00
Kirill Chibisov 546d5951aa Optimize undercurl shader
This removes the if and lowers amount of operations.
2023-12-01 21:40:20 +04:00
Kirill Chibisov 28d913cfd0 Fix DECRPM reporting
The DECRQM uses `p` to query, but the reply uses `y`.

Fixes #7397.
2023-11-29 01:44:59 +04:00
Kirill Chibisov 5adfc4fb00 Adjust default Vi's SearchBackwards binding
We have the same policy with Shift for numbers.
2023-11-28 03:03:29 +04:00
Cédric Van Rompay b8f6a250e7 Document macOS shortcuts for search 2023-11-27 14:39:52 +00:00
Kirill Chibisov 54889fc4ff Make AA stronger for undercurl
This improves undercurl rendering preserving its original thickness.
This also makes it look not out-of place when places next to other
lines.
2023-11-24 23:57:43 +04:00