summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-30Fix app icon in alt+tab view on WindowsHEADmasterNeil Stewart
2024-09-22Fix fullwidth semantic escape charactersChristian Duerr
Semantic escape characters occupying two two grid cells were always skipped over, making it impossible to have functional fullwidth characters as part of semantic escape characters. This patch fixes this by only skipping over fullwidth spacer cells, rather than skipping those cells entirely. Closes #8188.
2024-09-22Ignore cursor color request with default colorsChristian Duerr
Currently when the cursor colors are requested for the default cursor color, Alacritty always responds with #000000. Since this is most likely incorrect, this response is misleading. Realistically there's very little reason why any application would need to know the color of the (often dynamically changing) default cursor. So instead of always reporting an incorrect black value, this patch just stops reporting values unless the cursor color was explicitly changed. Closes #8169.
2024-09-10Make alacritty(1) config paths resemble alacritty(5)Kirill Chibisov
This also fixes the escaping in alacritty(5) page.
2024-09-07Improve TermMode bitflags initializationDimitri Sabadie
2024-08-31Update checkout CI actionHamir Mahal
2024-08-18Remove duplicate clip-path from logophilomathic_life
2024-08-16Make `ConPty` creation fallible张小白
2024-08-11Fix description in alacritty-bindings(5)Kirill Chibisov
Man pages use the man page name as the first word in description. This also aligns with other man pages we have.
2024-07-24Unify string formattingHamir Mahal
2024-07-21Restart config monitor on import changeChristian Duerr
This patch checks the hash of the import paths on every config change and restarts the config monitor whenever the current monitor's hash diverges from the updated config's list of imports. Closes #7981.
2024-07-18Document options which are not working everywhere yetKirill Chibisov
This includes `window.position` and `window.resize_increments`.
2024-07-17Bump dependenciesKirill Chibisov
Update winit and clap to latest versions.
2024-07-17Bump MSRV to 1.74.0Kirill Chibisov
2024-07-05Fix search bug with wrapline on first characterChristian Duerr
This fixes an issue where an inline search in the left direction would incorrectly assume that the first cell searched would not contain the `WRAPLINE` flag, causing the second search for the match end to terminate prematurely. Fixes #8060.
2024-07-02Support relative imports in config fileJoshua Cao
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2024-07-02Use latest macOS image on CI (#8072)Kirill Chibisov
Old macOS images are deprecated resulting in often failures, thus use latest macOS images available. Also given that macOS is arm64 by default check x86_64 as extra job and not arm64.
2024-06-23Bump winit to 0.30.3Kirill Chibisov
Fixes #8046.
2024-06-16Bump winit to 0.30.2Kirill Chibisov
Fixes #7969.
2024-06-08Bump glutin to 0.32.0Kirill Chibisov
2024-05-24Fix spelling errorsJosh Soref
2024-05-23Fix Kitty protocol reporting shifted keycodesjadedpasta
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
2024-05-23Fix error with missing importsChristian Duerr
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.
2024-05-23Fix IO safety violation from consequent dropping `OwnedFd`Jakob Hellermann
This was not a _real_ violation and was _expected_, though for rust to not complain clone FD properly...
2024-05-22Fix FD leak after closing child windowsChristian Duerr
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.
2024-05-16Fix mouse mode bindings with multiple actionsEBADBEEF
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.
2024-05-15Ignore shell RCs for macOS zsh wrapperNathan Lilienthal
Closes #7886.
2024-05-12Add missing comma to alacritty(5) manpageTravis Finkenauer
2024-05-07Allow requesting Bluetooth permission on macOSGiacomo Battaglia
2024-05-07Fix user events for all windows not handledKirill Chibisov
The user events for all cases were not handled. Fixes: 48c088a5 (Bump winit to 0.30.0) Fixes: #7957.
2024-05-04Bump winit to 0.30.0Kirill Chibisov
2024-05-03Fix shutdown of config monitorChristian Duerr
This implements a coordinated shutdown of the config monitor by sending an event to its thread and waiting for the thread to terminate.
2024-05-03Bump alacritty_terminal to 0.24.1-devChristian Duerr
This is only an update to the development version and does not represent a stable release.
2024-05-03Add config file locations into alacritty(5) Aarni Koskela
2024-05-01Add `from_file_descriptors()` to `tty::unix`Owen Law
2024-04-23Fix dynamic title override for multiple windowsChristian Duerr
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.
2024-04-21Fix IME preview overlapping textKirill Chibisov
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)
2024-04-21Fix missing config import warningMatt Fellenz
2024-04-20Fix crash when trying to open a new tab on macOSWilliam Viktorsson
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>
2024-04-18Fix window being focused by defaultKirill Chibisov
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.
2024-03-31Update homepage and repository in Cargo manifestsFoorack / Max Faxälv
2024-03-28Fix "Open Alacritty Here" on WindowsZhiZe-ZG
2024-03-26Add version 0.13.2 to CHANGELOGChristian Duerr
This is only an update to the development version and does not represent a stable release.
2024-03-24Send ESC with Alt for unicode inputKirill Chibisov
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.
2024-03-24Fix msi installer buildChristian Duerr
This works around an issue where wix was pulling pre-release extensions and thus breaking compatibility with our used wix version.
2024-03-21Fix kitty encoding used for char input without textKirill Chibisov
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.
2024-03-18Allow setting terminal env vars via PTY optionsKirill Bulatov
Closes #7778.
2024-03-18Drop MSRV to 1.70.0Christian Duerr
2024-03-18Bump dependenciesChristian Duerr
This bumps all dependencies that can be updated without introducing a build failure.
2024-03-14Bump winit to 0.29.15Kirill Chibisov