1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00
A cross-platform, OpenGL terminal emulator.
Find a file
Christian Duerr a1ed79bd2c Fix highlight invalidation on grid scroll
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.
2024-10-07 01:02:10 +02:00
.builds Use dynamic MSRV for oldstable CI 2024-02-14 01:20:49 +04:00
.github Update checkout CI action 2024-08-31 08:35:48 +00:00
alacritty Fix highlight invalidation on grid scroll 2024-10-07 01:02:10 +02:00
alacritty_config Bump MSRV to 1.74.0 2024-07-17 11:02:31 +03:00
alacritty_config_derive Add migration support for TOML config changes 2024-10-02 21:38:07 +02:00
alacritty_terminal Fix highlight invalidation on grid scroll 2024-10-07 01:02:10 +02:00
docs Fix spelling errors 2024-05-24 17:32:11 +00:00
extra Move root config fields to [general] section 2024-10-02 21:38:07 +02:00
scripts Fix spelling errors 2024-05-24 17:32:11 +00:00
.editorconfig Switch to TOML configuration format 2023-06-12 00:23:41 +00:00
.gitignore Add editorconfig 2020-11-06 05:12:29 +03:00
Cargo.lock Add migration support for TOML config changes 2024-10-02 21:38:07 +02:00
Cargo.toml Add resolver to workspace manifest 2023-06-11 18:58:30 +00:00
CHANGELOG.md Fix highlight invalidation on grid scroll 2024-10-07 01:02:10 +02:00
CONTRIBUTING.md Fix spelling errors 2024-05-24 17:32:11 +00:00
INSTALL.md Create man5 directory along with man1 2023-07-10 02:08:41 +00:00
LICENSE-APACHE Remove copyright notice from files 2020-06-06 21:49:14 +03:00
LICENSE-MIT Add licenses to alacritty_config 2022-09-05 09:39:09 +03:00
Makefile Switch to TOML configuration format 2023-06-12 00:23:41 +00:00
README.md Add config file locations into alacritty(5) 2024-05-03 21:44:17 +04:00
rustfmt.toml Update rustfmt configuration 2021-10-11 00:54:18 +00:00

Alacritty Logo

Alacritty - A fast, cross-platform, OpenGL terminal emulator

Alacritty - A fast, cross-platform, OpenGL terminal emulator

About

Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows.

The software is considered to be at a beta level of readiness; there are a few missing features and bugs to be fixed, but it is already used by many as a daily driver.

Precompiled binaries are available from the GitHub releases page.

Join #alacritty on libera.chat if you have questions or looking for a quick help.

Features

You can find an overview over the features available in Alacritty here.

Further information

Installation

Alacritty can be installed by using various package managers on Linux, BSD, macOS and Windows.

Prebuilt binaries for macOS and Windows can also be downloaded from the GitHub releases page.

For everyone else, the detailed instructions to install Alacritty can be found here.

Requirements

  • At least OpenGL ES 2.0
  • [Windows] ConPTY support (Windows 10 version 1809 or higher)

Configuration

You can find the documentation for Alacritty's configuration in man 5 alacritty, or by looking at the website if you do not have the manpages installed.

Alacritty doesn't create the config file for you, but it looks for one in the following locations:

  1. $XDG_CONFIG_HOME/alacritty/alacritty.toml
  2. $XDG_CONFIG_HOME/alacritty.toml
  3. $HOME/.config/alacritty/alacritty.toml
  4. $HOME/.alacritty.toml

On Windows, the config file will be looked for in:

  • %APPDATA%\alacritty\alacritty.toml

Contributing

A guideline about contributing to Alacritty can be found in the CONTRIBUTING.md file.

FAQ

Is it really the fastest terminal emulator?

Benchmarking terminal emulators is complicated. Alacritty uses vtebench to quantify terminal emulator throughput and manages to consistently score better than the competition using it. If you have found an example where this is not the case, please report a bug.

Other aspects like latency or framerate and frame consistency are more difficult to quantify. Some terminal emulators also intentionally slow down to save resources, which might be preferred by some users.

If you have doubts about Alacritty's performance or usability, the best way to quantify terminal emulators is always to test them with your specific usecases.

Why isn't feature X implemented?

Alacritty has many great features, but not every feature from every other terminal. This could be for a number of reasons, but sometimes it's just not a good fit for Alacritty. This means you won't find things like tabs or splits (which are best left to a window manager or terminal multiplexer) nor niceties like a GUI config editor.

License

Alacritty is released under the Apache License, Version 2.0.