1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-10-30 23:36:53 -04:00
A cross-platform, OpenGL terminal emulator.
Find a file
Christian Duerr 1399545f48
Ignore touch gestures for enabling IME
Previously whenever the user would use touch gestures to make selections
or scroll the terminal, IME would automatically be enabled due to the
focus change and reduce the terminal height. This isn't ideal when the
goal is just scanning through the terminal history without making any
input.

This patch keeps track of pointer and touch focus and only enables IME
when either the pointer is within the window or a tap touch sequence was
performed to give the window 'touch focus'.

The initial touch tap sequence used to enable IME is still forwarded to
the terminal as a simulated click event, since otherwise touch devices
without virtual keyboard would be forced into a confusing additional tap
to make it work. This means that virtual keyboard users will not be able
to open the virtual keyboard without creating a click event, which
should still be preferable to the status quo.
2025-10-26 05:26:27 +00:00
.builds Bump MSRV to 1.81.0 2025-05-28 14:16:36 +09:00
.github Bump MSRV to 1.81.0 2025-05-28 14:16:36 +09:00
alacritty Ignore touch gestures for enabling IME 2025-10-26 05:26:27 +00:00
alacritty_config Bump development version to 0.17.0-dev 2025-08-30 04:37:53 +00:00
alacritty_config_derive Bump development version to 0.17.0-dev 2025-08-30 04:37:53 +00:00
alacritty_terminal Bump development version to 0.17.0-dev 2025-08-30 04:37:53 +00:00
docs Fix spelling errors 2024-05-24 17:32:11 +00:00
extra Remove undefined logo SVG gradient 2025-10-20 05:54:11 +00: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 Bump dependencies 2025-10-08 21:05:01 +09:00
Cargo.toml Update to toml 0.9 2025-07-13 18:53:35 +00:00
CHANGELOG.md Ignore touch gestures for enabling IME 2025-10-26 05:26:27 +00:00
CONTRIBUTING.md Fix spelling errors 2024-05-24 17:32:11 +00:00
INSTALL.md Add missing build dependency to zypper docs 2025-05-20 23:38:45 +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 global config fallback 2025-07-07 21:44:55 +00: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
  5. /etc/alacritty/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.