aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add alacritty extension script support.rahm2Josh Rahm2024-08-14
| | | | | | | | | This allows an escape code to invoke user-defined extensions found in /home/rahm/.local/bin/alacritty-ext.sh. The terminal passes to this script the escape-code arguments. This allows things like opening links in the browser even through an ssh connection.
* Bump winit to 0.30.3Kirill Chibisov2024-08-14
| | | Fixes #8046.
* Bump winit to 0.30.2Kirill Chibisov2024-08-14
| | | Fixes #7969.
* Bump glutin to 0.32.0Kirill Chibisov2024-08-14
|
* Fix spelling errorsJosh Soref2024-08-14
|
* Fix Kitty protocol reporting shifted keycodesjadedpasta2024-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The [kitty keyboard protocol][1] explicitly requires that the *un-shifted* version of the pressed key is used to report the primary code point in `CSI code-point;modifiers u` sequences. > Note that the codepoint used is always the lower-case (or more > technically, un-shifted) version of the key. If the user presses, for > example, ctrl+shift+a the escape code would be CSI 97;modifiers u. It > must not be CSI 65; modifiers u. Alacritty's current behavior is to report the shifted version when shift is pressed, and the un-shifted version otherwise: ```console # Note that you'll have to kill Alacritty after running this to get # control back! $ echo -ne '\x1b[>1u'; cat ^[[97;5u^[[65;6u ``` The above was generated by pressing `CTRL`+`a` followed by `CTRL`+`SHIFT`+`a` after running the command. Here `97` and `65` are the codepoints for `a` and `A` respectively. This change makes Alacritty match the protocol (and Kitty's) behavior. With this change applied, `97` is reported for both `CTRL`+`a` and `CTRL`+`SHIFT`+`a`. [1]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#key-codes
* Fix error with missing importsChristian Duerr2024-08-14
| | | | | | | | | | | | | | This fixes a regression, likely introduced in 5d173f6df, which changed the severity of missing imports from `info` back to `error`. The cause of this issue was a more complicated error handling mechanism, which explicitly translated IO errors to a separate enum variant without accounting for it in all scenarios. While retrospectively this seems completely unnecessary to me, it did mean shorter error messages in case the main config file was not found. To preserve the benefits of both approaches, explicit handling for the `NotFound` IO error has been added when loading the main configuration file.
* Fix IO safety violation from consequent dropping `OwnedFd`Jakob Hellermann2024-08-14
| | | | This was not a _real_ violation and was _expected_, though for rust to not complain clone FD properly...
* Fix FD leak after closing child windowsChristian Duerr2024-08-14
| | | | | | | | This patch fixes an issue with signal handling where Alacritty would permanently create one signal handling FD for each alacritty window created by an instance. This FD was never released, causing a leak of the FD. Closes #7983.
* Fix mouse mode bindings with multiple actionsEBADBEEF2024-08-14
| | | | | | | | | | | | | | | | The following config was broken: ``` [mouse] bindings = [ { mouse = "Right", mods = "Shift", action = "Copy" }, { mouse = "Right", mods = "Shift", action = "ClearSelection" }, ] ``` Only the first action was applied. Change to allow more than one exact match in mouse mode with shift held, but keep the logic to not allow fallback search if any exact match was found. Regression was introduced in 1a143d11.
* Ignore shell RCs for macOS zsh wrapperNathan Lilienthal2024-08-14
| | | Closes #7886.
* Add missing comma to alacritty(5) manpageTravis Finkenauer2024-08-14
|
* Allow requesting Bluetooth permission on macOSGiacomo Battaglia2024-08-14
|
* Fix user events for all windows not handledKirill Chibisov2024-08-14
| | | | | | The user events for all cases were not handled. Fixes: 48c088a5 (Bump winit to 0.30.0) Fixes: #7957.
* Bump winit to 0.30.0Kirill Chibisov2024-08-14
|
* Fix shutdown of config monitorChristian Duerr2024-08-14
| | | | This implements a coordinated shutdown of the config monitor by sending an event to its thread and waiting for the thread to terminate.
* Bump alacritty_terminal to 0.24.1-devChristian Duerr2024-08-14
| | | | This is only an update to the development version and does not represent a stable release.
* Add config file locations into alacritty(5) Aarni Koskela2024-08-14
|
* Add `from_file_descriptors()` to `tty::unix`Owen Law2024-08-14
|
* Fix dynamic title override for multiple windowsChristian Duerr2024-08-14
| | | | | | | | | | | This fixes an issue where Windows spawned after the initial one through IPC or bindings would not update their title due to the initial window having its title set through the CLI. Title changes are still inhibited for additional windows when they are spawned through `alacritty msg create-window` with the `--title` CLI option added. Closes #6836.
* Fix IME preview overlapping textKirill Chibisov2024-08-14
| | | | | | | | | Fix incorrect usage of the `flags` when drawing the preedit resulting in setting the `flags`, but not actually reading the value back. The logic to skip things was also used incorrectly, because the renderer does that already based on the `WIDE_CHAR` flag on the cell. Fixes: 67a433ceed (Skip whitespaces for wide chars in preedit)
* Fix missing config import warningMatt Fellenz2024-08-14
|
* Fix crash when trying to open a new tab on macOSWilliam Viktorsson2024-08-14
| | | | | | This fixes an issue where Alacritty would crash when trying to open a new tab on macOS while having decorations disabled. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix window being focused by defaultKirill Chibisov2024-08-14
| | | | | | | | | Winit explicitly states that the window is not focused by default and the `Focused` event will deliver the state later on. Also start adding notable changes to alacritty_terminal in its own CHANGELOG. Closes #7866.
* Update homepage and repository in Cargo manifestsFoorack / Max Faxälv2024-08-14
|
* Fix "Open Alacritty Here" on WindowsZhiZe-ZG2024-08-14
|
* Add version 0.13.2 to CHANGELOGChristian Duerr2024-08-14
| | | | This is only an update to the development version and does not represent a stable release.
* Send ESC with Alt for unicode inputKirill Chibisov2024-08-14
| | | | | | | | | | | Make `Alt` send `ESC` for unicode input the way it's done for ASCII. Previously it was disabled because of macOS, however on macOS we're using the `option_as_alt` setting, which solves the original issue. The `Alt` prefixing is still disabled for the unicode strings, like when they come from the compose input. Fixes #7852.
* Fix msi installer buildChristian Duerr2024-08-14
| | | | This works around an issue where wix was pulling pre-release extensions and thus breaking compatibility with our used wix version.
* Fix kitty encoding used for char input without textKirill Chibisov2024-08-14
| | | | | On Windows some key combinations for regular text input, like Ctrl+1 don't have any text attached, so they were generating the kitty escape sequence even when they shouldn't.
* Allow setting terminal env vars via PTY optionsKirill Bulatov2024-08-14
| | | Closes #7778.
* Drop MSRV to 1.70.0Christian Duerr2024-08-14
|
* Bump dependenciesChristian Duerr2024-08-14
| | | | | This bumps all dependencies that can be updated without introducing a build failure.
* Bump winit to 0.29.15Kirill Chibisov2024-08-14
|
* Fix hint `Select` action for hyperlink escapeChristian Duerr2024-08-14
| | | | | | | | | | | | This fixes an issue where the `Select` action for hyperlink escape text would select the entire line, instead of selecting only the hyperlink itself. It also changes the way hyperlinks with the same ID are highlighted, removing the restriction of being on consecutive lines and instead highlighting all visible cells that correspond to the matching hyperlink. Closes #7766.
* Set PTY's pixel size on startupKirill Chibisov2024-08-14
| | | | | 117719b3 removed the extra call for TIOCSWINSZ, however the initial `openpty` call itself did not set the pixel size, which caused issues with some clients.
* Send exit code events on child process exitKirill Bulatov2024-08-14
| | | | Fixes #7753.
* Expose more process info on WindowsSmall White2024-08-14
|
* Bump winit to 0.29.14Kirill Chibisov2024-08-14
| | | Fixes #7806.
* Fix log typoshuajin tong2024-08-14
|
* Fix build failure on NetBSDKirill Chibisov2024-08-14
| | | | | | x11-clipboard was unconditionally using eventfd which is not present on NetBSD. Links: https://github.com/quininer/x11-clipboard/issues/48
* Bump winit to 0.29.12Kirill Chibisov2024-08-14
| | | The 0.29.11 was yanked.
* Add alias support to `SerdeReplace`Alexandru Placinta2024-08-14
|
* Check alternative cursor icon names on WaylandFriz642024-08-14
|
* Fix feature = "cargo-clippy" deprecationDimitris Apostolou2024-08-14
|
* Bump winit to 0.29.11Kirill Chibisov2024-08-14
| | | | | | | Fixes #7633. Fixes #7613. Fixes #7607. Fixes #7571. Fixes #7549.
* Unlock more bindings from the keyboardJosh Rahm2024-02-23
|
* Re-implement crosshairs on newer alacritty.Josh Rahm2024-02-19
| | | | The config values are hardcoded atm.
* Fix typo in config docsYadi Abdalhalim2024-02-19
|
* Fix regional scrolling leaking into historyChristian Duerr2024-02-14
| | | | | 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".