aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal
Commit message (Collapse)AuthorAge
* Add alacritty extension script support.HEADrahmJosh Rahm2025-11-12
| | | | | | | | | 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.
* Use my specific version of VTE for the OSC 117 extension.Josh Rahm2025-11-12
|
* Remove custom abs_diff function.Ayose2025-11-04
| | | | Clippy suggests using the function provided in std.
* Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-09-07
|\
| * Bump development version to 0.17.0-devChristian Duerr2025-08-30
| | | | | | | | This is only an update to the development version and does not represent a stable release.
| * Add alacritty_terminal option to escape pty argsfeeiyu2025-08-02
| | | | | | | | | | | | | | | | | | | | | | This adds a new `escape_args` option to `tty::Options` on Windows, which can be used to automatically escape all arguments passed to the shell. While useful to automatically make most arguments work on Windows, there are some scenarios where it is not possible for users to properly specify arguments with this option enabled (e.g.: `cmd /c`). An option should always be present to disable this option when used. The implementation is based on the `Command` code in Rust's STD lib.
| * Fix DECOM cursor motionChristian Duerr2025-07-25
| | | | | | | | | | This fixes a missing `GOTO 0,0` when entering the terminal origin mode. Closes #8636.
* | Apply rustfmt.Ayose2025-07-23
| |
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-07-23
|\|
| * Migrate to 2024 editionChristian Duerr2025-07-13
| |
| * Add size_hint to GridIteratortidely2025-07-13
| | | | | | Co-authored-by: Christian Duerr <contact@christianduerr.com>
| * Remove cstr! macro in favor of literal notationKirill Chibisov2025-07-01
| | | | | | | | | | Also apply clippy changes while at it. Closes #8002.
| * Bump all dependenciesKirill Chibisov2025-05-28
| |
| * Fix clippy warningsKirill Chibisov2025-05-28
| |
| * Bump MSRV to 1.81.0Kirill Chibisov2025-05-28
| | | | | | | | Also use workspace to specify that.
| * Fix search for fullwidth chars in the last columnChristian Duerr2025-05-26
| | | | | | | | | | | | | | | | | | | | This fixes an issue for fullwidth characters where the `WRAPLINE` flag would be checked for the cell containing the wide character, ignoring the spacer after it. To work around this, the wrapline character is now always checked based on the cell *after* fullwidth expansion, instead of the original cell. Closes #8586.
| * Add * # { } vi motionsChristian Duerr2025-05-20
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds Vi's semantic search and paragraph motion. The semantic search uses either the selection or the semantic word under the cursor and jumps to the next match in the desired direction. Paragraph motion jumps to just above or below the current paragraph. Closes #7961. Co-authored-by: Fletcher Gornick <fletcher@gornick.dev>
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2025-02-24
|\|
| * Hide macOS login message with ~/.hushlogin presentMikayla Maki2025-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On macOS every shell is a login shell, which will always print information about the last login when the terminal is started. The macOS standard for disabling this is to place a `.hushlogin` file in the user's home directory, but this did not work with Alacritty since `login` only looks for this file in the current directory. To ensure the login message is properly suppressed, Alacritty's default shell will now check for the presence of the `.hushlogin` file in the user's home directory and append `-q` to the `login` arguments if it is present, which will behave as if a `.hushlogin` file was found by `login`. Co-authored-by: Thomas <thomas@zed.dev> Co-authored-by: Anthony <anthony@zed.dev>
| * Add latest release to changelogChristian Duerr2025-02-17
| | | | | | | | This is only an update to the development version and does not represent a stable release.
| * Dont fail exec() on deleted directoriesTycho Andersen2025-02-08
| | | | | | | | | | | | | | | | | | Use the `std::env::set_current_dir` from the `pre_exec` and ignore error, since not changing working directory is a side effect which shouldn't break spawning a program or block window creation. Signed-off-by: Tycho Andersen <tycho@tycho.pizza> Co-authored-by: Kirill Chibisov <contact@kchibisov.com> Co-authored-by: Christian Duerr <contact@christianduerr.com>
| * Bump vte to 0.15.0Kirill Chibisov2025-02-04
| |
| * Add option to drain PTY on shutdownAndrew Borg (Kashin)2025-01-16
| | | | | | | | | | This patch removes the `hold` option on `alacritty_terminal` in favor of a `drain_on_exit` option, which will drain the PTY before shutdown. The hold logic is instead handled in `alacritty`.
| * Bump vte to 0.14.1Kirill Chibisov2025-01-13
| | | | | | | | This fixes a crash with partial utf8 input and also speeds up parsing in some cases.
| * Bump VTE to 0.14.0Christian Duerr2025-01-09
| | | | | | | | Since this is a breaking change, it also bumps the alacritty_terminal development version to 0.25.0-dev.
| * Bump development version to 0.16.0-devKirill Chibisov2025-01-06
| | | | | | | | | | This is only an update to the development version and does not represent a stable release.
* | Merge commit '8cb359ad' into graphicsAyose2025-01-07
|\|
| * Add CSI Ps I supportKirill Chibisov2024-12-28
| | | | | | The implementation is the same as CSI Ps Z, but forward.
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2024-12-26
|\|
| * Fix vi motion with wide semantic escape charsChristian Duerr2024-11-22
| | | | | | | | | | | | | | This patch fixes an issue where the semantic vi motion commands `SemanticRight` and `SemanticLeft` were not behaving as expected when a fullwidth character was used as a semantic character. Closes #8314.
| * Bump all dependenciesChristian Duerr2024-11-02
| | | | | | | | | | This patch applies all major and minor version bumps, with the exception of `unicode-width` since it will need to be handled separately for Unicode version 16.
| * Fix racing condition in hint triggeringChristian Duerr2024-11-02
| | | | | | | | | | | | | | | | | | | | | | This fixes an issue with hints where it was possible that the terminal content of highlighted hints changed between the highlighted hint update and the activation of the hint. This patch always validates the hint's text content against the hint itself to ensure that the content is still valid for the original hint which triggered the highlight. Closes #8277.
| * Do not pull serde without serde featureYizhePKU2024-10-21
| | | | | | | | alacritty_terminal was pulling `serde` via vte even though serde feature was disabled.
| * Bump development version to 0.15.0-devChristian Duerr2024-10-18
| | | | | | | | This is only an update to the development version and does not represent a stable release.
| * Revert "Add unicode 16 support"Christian Duerr2024-10-18
| | | | | | This reverts commit 5dca7a85e7d8e98f8e770c17af8efb442c2277d0.
* | Merge remote-tracking branch 'vendor/v0.14' into graphicsAyose2024-10-24
|\ \
| * | Alacritty version 0.14.0Christian Duerr2024-10-22
| | |
| * | Do not pull serde without serde featureYizhePKU2024-10-22
| | | | | | | | | | | | alacritty_terminal was pulling `serde` via vte even though serde feature was disabled.
| * | Revert "Add unicode 16 support"Christian Duerr2024-10-22
| | | | | | | | | This reverts commit 5dca7a85e7d8e98f8e770c17af8efb442c2277d0.
| * | Alacritty version 0.14.0-rc2Christian Duerr2024-10-15
| | |
| * | Alacritty version 0.14.0-rc1Christian Duerr2024-10-11
| |/
* | Merge remote-tracking branch 'vendor/master' into graphicsAyose2024-10-13
|\|
| * Add unicode 16 supportChristian Duerr2024-10-10
| | | | | | | | | | | | | | | | This fixes issues in width calculation for symbols added in Unicode version 16. Since the upstream unicode-width crate has not been updated yet, this makes use of the temporary unicode-width-16 version to support Unicode 16 with Alacritty 0.14.0.
| * Fix highlight invalidation on grid scrollChristian Duerr2024-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where hints highlighted by vi or mouse cursor would produce an underline on the incorrect line since the highlights only store the initial match boundaries without accounting for new content scrolling the terminal. To accurately invalidate the hint highlights, we use existing damage information of the current frame. The existing logic to damage hints for the next frame to account for removal has been changed, since the hints would otherwise be cleared immediately. Instead we now mark the terminal as fully damaged for the upcoming frame whenever the hints are cleared. Closes #7737.
| * Remove unused `Clone` requirementsChristian Duerr2024-10-07
| |
| * Remove startup notify variables only for shellKirill Chibisov2024-10-03
| | | | | | | | | | | | This will prevent issues when `setup_env` from `alacritty_terminal` will remove potentially useful variables for users of the library. Fixes #8202.
| * Move root config fields to `[general]` sectionChristian Duerr2024-10-02
| | | | | | | | | | | | | | | | | | | | | | Some users struggle with TOML, since root options must always be at the top of the file, since they're otherwise associated with the last table. To avoid misunderstandings, all root-level fields have been removed. A new `general` section was added to allow housing configuration options that do not fit into any more specific groups. Closes #7906.
| * Fix fullwidth semantic escape charactersChristian Duerr2024-09-22
| | | | | | | | | | | | | | | | | | | | 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.
| * Improve TermMode bitflags initializationDimitri Sabadie2024-09-07
| |
| * Make `ConPty` creation fallible张小白2024-08-16
| |