2499 Commits
Author SHA1 Message Date
Nithin Aashik PS 791efff6d7 Add release CI for Windows ARM64 2026-11-18 16:50:57 +01:00
Fabien Salathe aa5d942f46 Add Web Assembly build support
Leave out the PTY modules and dependencies on WASM so the parser and the
terminal model can build for WASM.
2026-11-06 22:34:25 +01:00
Nate Eagleson aecf0f600f Add LLM policy link to CONTRIBUTING.md's TOC 2026-11-02 06:42:36 +01:00
Michał Fox bbb2cbf947 Fix bindings missing from get-config IPC reply
Closes: #8889
2026-10-26 23:32:23 +01:00
Christian Duerr 542147067d Fix Kitty keyboard mode stack size limit
Closes: #9071
2026-10-16 05:47:54 +00:00
Krzysztof Kuśmierczyk 29dc55375d Add NSLocalNetworkUsageDescription to Info.plist 2026-10-05 12:48:26 +00:00
Daniel Fox Franke d692748d3f Remove unnecessary Row column count limit
The previous implementation was relying on a column width of at least 1
to use an "optimized" unsafe implementation to initialize a row. Since
this optimization should not be necessary, there's no reason to
artificially limit our API with a hidden, undocumented column limit.
2026-08-31 21:11:11 +00:00
Daniel Fox Franke ede2ac144d Fix unbounded zerowidth character limit
Alacritty was using a `Vec` without limits to store zerowidth
characters, making it possible to exhaust system memory by writing a
large number of these characters to a single cell.

Problem Example:
    echo -en a; (while true; do echo -en '\xcc\x81'; done)
2026-08-26 04:17:18 +00:00
Kevan 7dd7b5b09e Fix off-by-one in ParagraphUp binding 2026-08-17 19:36:06 +00:00
Christian Duerr 1b2b36a64e Fix link to escape sequence documentation
Closes: #9012
2026-08-03 08:50:05 +00:00
WaterWhisperer 852e971cdd Fix columns assignment in SizeInfo conversion
Closes: #8994
2026-07-14 03:43:12 +00:00
Nathan Lilienthal bdb72b32ee Fix overflow on line damage below the viewport
rect_for_line computed the rect's y with unsigned arithmetic. When the
window is small and the cell is tall, a damaged line can sit below what
fits in the viewport, so (line + 1) * cell_height exceeds y_top and the
subtraction underflows, panicking in debug builds.

The Rect is built from i32, so compute y as a signed subtraction and let
it go negative. overdamage already clamps the result back onto the
screen.

I think there's probably room for improving the representation of a lot
of these value in this area, but I'm not opening that can of worms right
now.
2026-06-22 14:16:01 +00:00
Neel 985394dd42 Handle PTY non-blocking failure gracefully
We ran in to a application-wide panic from an `assert` in the terminal,
this PR makes `set_nonblocking` fallible and propagates the error rather
than using an assert.
2026-06-16 18:43:12 +00:00
elia aaf3bd744a Add Windows context menu entry for directories 2026-06-02 20:30:05 +00:00
Christian Duerr 55f12aae29 Add pull request template
This adds a minimal pull request template to confirm compliance with
Alacritty's LLM policy before the PR is created.

The issue template is removed since GitHub has changed the format
(repeatedly) and the current version is no longer supported. We seem to
be doing fine without it.
2026-05-23 07:02:00 +00:00
jorgeloopzz 79adb08600 Remove Clear Linux build instructions 2026-05-02 02:14:56 +00:00
lclrc 8feb2cf126 Fix macOS subprocess event permissions
Closes #8937.
2026-05-01 16:07:23 +00:00
Nicholas Boyle 9b7419c3e4 Add alacritty-escapes manpage to Makefile 2026-04-28 01:21:51 +00:00
Daniel Müller 2f03c30283 Fix X11 clipboard warnings
This adds an override for the x11-clipboard dependency, which removed
the racy ownership check after writing text to the clipboard.

Closes #6978.

Signed-off-by: Daniel Müller <deso@posteo.net>
2026-04-14 20:02:36 +00:00
Viktor Jägersküpper f99dc71708 Update link to TOML spec on alacritty(5) manpage 2026-03-30 22:04:15 +00:00
Christian Duerr 48ff32f7c6 Fix release CI
This fixes an issue with the release CI script caused by outdated
Ubuntu mirrors.
2026-03-21 08:25:08 +00:00
Christian Duerr a19d9c894d Bump development version to 0.18.0-dev
This is only an update to the development version and does not represent
a stable release.
2026-03-21 15:25:58 +09:00
Christian Duerr 99459c9180 Add no-LLM contribution policy
While likely a pointless addition, due to bad actors ignoring these
instructions anyway, this should clearly communicate the LLM
contribution preferences of the Alacritty project.

The text was copied from the Servo project with the detailed reasoning
stripped, since people that care are usually aware of the issues of LLMs
anyway.
2026-03-21 01:47:24 +00:00
Christian Duerr a0be6eb824 Fix signal cleanup polling
This fixes two minor issues introduced in 96f488d.

The main problem was the fact that the I/O event polling on Unix was
only started when the IPC socket feature is enabled. While generally
this is the main reason why we need to shutdown cleanly, there's no
reason why we wouldn't *always* do so. This ensures the log file is
always cleaned up properly on Unix.

Another minor issue with the signal polling was that the pipe was
registered for reading, but never drained when it was ready to be read
from. While this would mean we're already in the process of shutting
down anyway, this would redundantly send about 1000 shutdown requests,
rather than just one.
2026-03-14 02:52:35 +00:00
Christian Duerr 96f488dd3f Fix resource cleanup for signal shutdown
This fixes an issue where Alacritty's resources, like its socket, would
stick around after getting killed, since termination signals like
SIGTERM were not handled explicitly.

To handle these signals, the IPC thread was changed to a general-purpose
I/O polling thread, listening for events on a signal pipe and the IPC
socket.

While this does not provide support for Windows, we also do not have an
IPC socket on Windows we would need to clean up.

Closes #8805.
2026-03-05 05:14:21 +00:00
Bradley Walters 889fa412c1 Remove flash terminfo capability
The flash capability was using DECSCNM (ESC[?5h/ESC[?5l) to toggle
reverse video mode for a visual bell effect. However, the vte crate
does not implement DECSCNM (private mode 5), so the sequence is
ignored as an unknown mode.

Remove the capability from terminfo so programs can accurately
determine how to ring the user (e.g. by falling back to the audible
bell as vi does).
2026-03-03 16:50:32 +00:00
Kirill Chibisov 51f742b392 Bump winit to 0.30.13
Fixes #8791.
2026-03-03 09:48:54 +09:00
Christian Duerr e1779cbc58 Move escape sequence docs to manpage
Closes #7235.
2026-02-25 10:09:30 +09:00
Smit Barmase 4225cea231 Use ExitStatus for tty shutdown events 2026-01-29 01:10:12 +00:00
Ben Beasley 08134af853 Add toml 1.1.0 support 2026-01-14 22:30:36 +00:00
Kirill Chibisov 6ee6e53ee3 Fix mouse wheel bindings not working in mouse mode
Since bindings were never checked in mouse mode, the bindings defined in
83f6443 could not be used while holding shift.
2025-12-23 00:39:50 +00:00
Jonas 83f6443537 Add support for mouse wheel bindings 2025-12-21 21:38:34 +00:00
Kirill Chibisov 18372031d1 Use built-in font for U+1FB82 to U+1FB8B
Those are block elements in 'Symbols for Legacy Computing' that
complements the ones from original block elements, but from the opposite
side.

Part-of: #7422.
2025-12-06 00:27:56 +09:00
Alisa Sireneva 52031ea919 Fix some non-async-signal-safety in pre_exec 2025-11-24 18:53:22 +00:00
Niklas 6ea359d369 Bump makefile MACOSX_DEPLOYMENT_TARGET to 10.12 2025-11-17 22:32:53 +00:00
Christian DuerrandKirill Chibisov 0346c993f5 Fix broken IME with Wayland pointer devices
This is a second attempt at 1399545.

The previous implementation tried to use mouse focus tracking to control
IME activity, which does not work since IME focus is unrelated to the
pointer.

This patch instead inhibits IME on the first touch sequence during focus
loss, forcing a touch tap before enabling IME again. This effectively
disables IME with the touch event used to focus the window, assuming the
compositor sends the touch down before the focus-in event.

To avoid the IME opening for a brief period of time while the window is
gaining focus again, we disable IME on focus loss, then reenable it once
focus is gained again. While this does theoretically change the behavior
with pointer input, it shouldn't impact usability since IME input
without keyboard focus isn't usually possibly anyway.

Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
2025-11-16 15:47:51 +00:00
Kirill Chibisov bf68154f9e Allow disabling IME on X11
Previously IME was forced on X11 due to disable/enable not really
working on it. However, the new IME logic in winit had this issue
fixed for a while.
2025-11-12 11:40:24 +09:00
Kirill Chibisov cca394810a Revert "Ignore touch gestures for enabling IME"
Pointer events shouldn't disable IME in any way, however without them
touch doesn't really work in the current implementation, so revert it
for now to make review of the proper patch for touch easier.

This reverts commit 1399545f48.
2025-11-09 18:24:54 +09:00
Kirill Chibisov c2b75f293c Try both robust and non-robust configs
It was suggest to try building both robust and non-robust as a fallback
due to 1.5 not mandating robustness, and also not mandating extension,
so the robustness can be supported, but without the extension present.

This reverts commit 7b33cbcbc2.
2025-11-05 09:50:43 +09:00
Laurence Tratt fff942ac54 Add foreground CWD implementation for OpenBSD 2025-11-02 02:18:09 +00:00
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
Christian Duerr 52deae45bc Remove undefined logo SVG gradient
This removes a gradient that apparently doesn't exist, which causes
issues with some SVG rasterizers.

Closes #8706.
2025-10-20 05:54:11 +00:00
Christian Duerr 7b33cbcbc2 Fix OpenGL robustness crash
This disables the OpenGL context's robustness feature since some GPUs
that advertise robustness support do not support sufficient capabilities
for our implementation.

Closes #8713.
2025-10-20 14:27:07 +09:00
Christian Duerr 08882d521d Fix changelog entry for 0.16.0 release 2025-10-18 03:21:50 +00:00
Lulu a513d13779 Ignore when config file is moved
As this is practically the same as deleting the file it should be
treated the same and ignored.

Moving a file from somewhere to the config file is not ignored and the config
will reload as normal.
2025-10-16 06:37:33 +00:00
Christian Duerr 48e19ec3cb Bump dependencies
This performs all non-breaking dependency updates, which includes
unicode-width 0.2.2 for Unicode 17 support.
2025-10-08 21:05:01 +09:00
Andy fa36b3abb1 Disable NSAutoFillHeuristicController on macOS 2025-10-04 18:43:53 +00:00
Kirill Chibisov a2334ff494 Bump winit to 0.30.12
That may still be needed for macOS 26 to not blow up.
2025-09-12 09:23:58 +09:00
skewb1k 97fde106c0 Fix hint highlighting when hovering with hidden mouse
When the mouse cursor was hidden with `hide_when_typing` enabled, hints
could still be highlighted under the hidden cursor. This typically
occurred when a hint moved underneath the stationary, hidden cursor.

This fix ensures hints are not highlighted by the mouse cursor while
it's hidden.
2025-09-01 17:11:21 +00:00
Christian Duerr 8e0327b3fb Bump development version to 0.17.0-dev
This is only an update to the development version and does not represent
a stable release.
2025-08-30 04:37:53 +00:00