Commit Graph
2288 Commits
Author SHA1 Message Date
Christian Duerr 29bb9d2319 Alacritty Terminal version 0.22.0 alacritty_terminal_v0.22.0 2024-02-05 14:40:23 +00:00
Kirill Chibisov 20e3040be0 Fix hang on startup with some Wayland compositors
Fixes #7665.
2024-02-04 15:39:28 +04:00
Kirill Chibisov 2a50076f4c Fix hang on startup with some Wayland compositors
Fixes #7665.
2024-02-03 07:58:56 +04:00
Conrad Irwin 2d2b894c3b Fix unnecessary explicit panic in PTY
Closes #7680.
2024-02-02 06:19:23 +00:00
Kirill Chibisov c3b3746075 Document command field in bindings
Closes #7594.
2024-01-31 00:31:27 +04:00
Kirill Chibisov 38d63abd5f Don't use kitty sequences outside protocol
Originally kitty defined that functional keys, which are not encoded
by default, like `Pause` should be encoded with `CSI u`. However
the specification was clarified and now it says that terminal
may ignore that part. Given that Alacritty tries to follow xterm/urxvt
when it comes to bindings, CSI u bindings are not send for consistency
reasons.

This also brings back F13-F20 bindings used by Alacritty in 0.12.3, as
well as explicitly defines `NumpadEnter` like it was before.

Closes #7623.
2024-01-31 00:11:16 +04:00
Kirill Chibisov 7c046f5ae6 Move CHANGELOG entry for sextants to proper section 2024-01-27 15:54:19 +04:00
Kirill Chibisov 4eec59728a Don't report associated text only for C0/C1
This has a side effect that we'll have text reported for Alt+Shift+T
and similar, but only C0/C1 should be excluded and Alt+Shift+T is
emitting neither, thus regular `T` will be reported.

Fixes #7657.
2024-01-27 15:54:19 +04:00
Mohammad AlSaleh ee4fcc8801 Fix invalid bounds in selection range conversion 2024-01-27 06:49:22 +00:00
Popa Ioan Alexandru b48ab148ff Use builtin font to draw sextants
Sextants are similar to quadrants and should align with them and
other box drawing, thus use builtin font to align them properly.

Part-of: #7422.
2024-01-26 16:45:26 +04:00
Christian Duerr 79b686df41 Allow specifying all config keys on all platforms
Closes #7592.
2024-01-24 02:00:05 +04:00
Christian Duerr 4c0c368e7a Fix typo in config docs
Closes #7647.
2024-01-21 00:25:24 +00:00
Christian Duerr 94ede16ee4 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-01-14 20:25:15 +04:00
Christian Duerr b82a49ce0c Fix inline search expanding across newlines
Closes #7587.
2024-01-14 19:07:40 +04:00
Christian DuerrandKirill Chibisov 927b864844 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-01-14 19:01:30 +04:00
Kirill Chibisov a265bb0d4f Fixup alacritty_config version and deps 2024-01-14 18:43:03 +04:00
Christian Duerr 1b9131c7e0 Reduce allocations during keyboard input 2024-01-09 14:23:03 +00:00
Christian Duerr 415be94072 Add version 0.13.1 to CHANGELOG
This is only an update to the development version and does not represent
a stable release.
2024-01-08 16:10:16 +00:00
WuerfelDevandChristian Duerr 252545992b Fix manpage string escapes
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2024-01-08 14:10:54 +00:00
Christian Duerr b54d763154 Fix serde tests without default features
Authored-by: James McCoy <jamessan@jamessan.com>
2024-01-06 06:05:55 +00:00
Kirill Chibisov 295ac412de Bump winit to 0.29.9
Fixes #7559.
Fixes #7533.
2024-01-06 04:48:40 +04:00
Kirill Chibisov 213f73e8d6 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-05 11:59:05 +04:00
Omar Magdy d47aab93c3 Add vi search paste bindings
Closes #7511.
2024-01-04 17:57:53 +00:00
Christian Duerr 5685ce8bf8 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-02 13:34:57 +00:00
Lars Francke 8f57367ead 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-02 05:55:02 +00:00
Kirill Chibisov 659550ee34 Bump winit to 0.29.8
Fixes #7514.
Fixes #7502.
Fixes #7494.
Fixes #7474.
Fixes #7472.
2023-12-31 22:12:35 +04:00
Kirill Chibisov c07b65c760 Remove note about versions pre 0.13.0 2023-12-31 21:50:33 +04:00
Kirill Chibisov 2786683e0e Powerline glyphs being cut for narrow fonts
Fixes #7470.
2023-12-31 00:12:41 +04:00
Kirill Chibisov c78c5f6cc0 Send associated text for shifted numbers with kitty
Also fix the wrong ordering of base and shifted keys.

Fixes #7492.
2023-12-30 19:50:35 +04:00
Kirill Chibisov 107c8720c3 Don't substitute \n in char bindings
This broke unintentionally due to routing paste-like input
via paste function.

Fixes #7476.
2023-12-30 19:29:21 +04:00
Hyper b067fcca33 Passthrough potential errors for EventLoopSender 2023-12-30 19:12:00 +04:00
Kirill Chibisov 85d85e49b2 Fix inability to bind Alt+Control on Windows
Fixes #7506.
2023-12-30 09:42:02 +04:00
Kirill Chibisov 6223cabe17 Use pre-composed key for Alt bindings on macOS
Fixes #7475.
2023-12-30 09:42:02 +04:00
Philip Dubé 91e3cd6a40 Remove direct dependency on once_cell
With MSRV 1.70, std now contains the necessary parts.
2023-12-29 01:40:18 +00:00
Christian Duerr 81df32af60 Fix alacritty migrate with nonexistent imports
Fixes #7473.
2023-12-28 21:57:30 +04:00
Hyper 234fea701c Derive Clone for EventLoopSender 2023-12-28 20:05:56 +04:00
Kirill Chibisov ea450f5150 Mark SimpleFullscreen as macOS only startup mode 2023-12-28 14:36:45 +04:00
Kirill Chibisov b6b21f73ea Bump winit to 0.29.7
This also bumps other dependencies along the way.

Fixes #2886.
2023-12-27 23:25:25 +04:00
Kirill Chibisov 187f9ca3e5 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-25 18:52:35 +04:00
Kirill Chibisov caf8c7fc7f Keep IME always enabled on X11
Fixes #7195.
2023-12-22 02:27:35 +04:00
Kirill Chibisov 90ec158a94 Bump winit to 0.29.5
Fixes #7449.
2023-12-22 02:04:40 +04:00
Kirill Chibisov 3d7d81c848 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-20 10:37:21 +04:00
Kirill Chibisov a10fb8adc0 Fix the order of ClearSelection in Vi mode
Fixes #7438.
2023-12-16 14:50:22 +00:00
Christian Duerr 749ddc09e2 Add link to rendered config docs
This adds a link to alacritty.org's rendered configuration file
documentation.
2023-12-14 11:41:09 +04:00
Christian Duerr 8655276f0e Update alacritty versions
This is only an update to the development versions and does not
represent a stable release.
2023-12-14 10:37:25 +04: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