Commit Graph
2296 Commits
Author SHA1 Message Date
Christian Duerr 0926df17bf Fix regional scrolling leaking into history
This fixes an issue where a scrolling region that does not start at the
top of the screen would still rotate lines into history when scrolling
the content "upwards".
2024-03-19 02:20:53 +01:00
Christian Duerr 564eb65201 Fix clippy warnings 2024-03-19 02:20:53 +01:00
Christian Duerr 935aee6165 Bump MSRV to 1.72.0 2024-03-19 02:20:53 +01:00
Christian Duerr 08804f27f7 Use dynamic MSRV for oldstable CI
Instead of manually specifying the oldstable version in all our CI
scripts, it is now pulled from the `Cargo.toml` which simplifies the
update process.

The contributing guide has also been updated to not include the explicit
version and its wording has been loosened a bit to correctly represent
current maintenance practices.
2024-03-19 02:20:53 +01:00
Alexandru Placinta 7d519f57fd Fix row indexing with inclusive ranges 2024-03-19 02:20:53 +01:00
Kirill Chibisov 0c45a9edba Remove extra TIOCSWINSZ ioctl on startup
The openpty call already performs it, thus no need to call it one more
with the exact same size since it confuses some applications.
2024-03-19 02:20:53 +01:00
Kirill Chibisov 4e052be4a4 Add default Home/End bindings for Vi mode 2024-03-19 02:20:53 +01:00
Kirill Chibisov 1d43964bc6 Fix hang on startup with some Wayland compositors
Fixes #7665.
2024-03-19 02:20:53 +01:00
Kirill Chibisov b02721b65e Fix hang on startup with some Wayland compositors
Fixes #7665.
2024-03-19 02:20:53 +01:00
Conrad Irwin 066fe5e3d8 Fix unnecessary explicit panic in PTY
Closes #7680.
2024-03-19 02:20:53 +01:00
Kirill Chibisov 0ae2673682 Document command field in bindings
Closes #7594.
2024-03-19 02:20:53 +01:00
Kirill Chibisov 8860d00641 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-03-19 02:20:53 +01:00
Kirill Chibisov f53109a9d6 Move CHANGELOG entry for sextants to proper section 2024-03-19 02:20:53 +01:00
Kirill Chibisov 03dbae5c76 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-03-19 02:20:53 +01:00
Mohammad AlSaleh 97f3a7694a Fix invalid bounds in selection range conversion 2024-03-19 02:20:53 +01:00
Popa Ioan Alexandru c661eb462e 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-03-19 02:20:53 +01:00
Christian Duerr a526b733c9 Allow specifying all config keys on all platforms
Closes #7592.
2024-03-19 02:20:53 +01:00
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