ALACRITTY-ESCAPES(7)

Alacritty Escape Sequence Support

This list includes all escape sequences Alacritty currently supports.

Legend

The available statuses are PARTIAL, IMPLEMENTED and REJECTED. While a status of PARTIAL means there is still work left to be done, a status of IMPLEMENTED for something partially implemented means all other features were rejected.

All whitespace in escape sequences is solely for formatting purposes and all relevant spaces are denoted as SP. The escape parameters are omitted for brevity.

ESC codes - ESC

ESCAPE | STATUS | NOTE
ESC ( | Implemented | Only charsets B and 0 are supported
ESC ) | Implemented | Only charsets B and 0 are supported
ESC * | Implemented | Only charsets B and 0 are supported
ESC + | Implemented | Only charsets B and 0 are supported
ESC = | Implemented |
ESC > | Implemented |
ESC 7 | Implemented |
ESC 8 | Implemented |
ESC # 8 | Implemented |
ESC D | Implemented |
ESC E | Implemented |
ESC H | Implemented |
ESC M | Implemented |
ESC Z | Implemented |

CSI (Control Sequence Introducer) - ESC [

ESCAPE | STATUS | NOTE
CSI ` | Implemented |
CSI @ | Implemented |
CSI A | Implemented |
CSI a | Implemented |
CSI B | Implemented |
CSI b | Implemented |
CSI C | Implemented |
CSI c | Implemented |
CSI D | Implemented |
CSI d | Implemented |
CSI E | Implemented |
CSI e | Implemented |
CSI F | Implemented |
CSI f | Implemented |
CSI G | Implemented |
CSI g | Implemented |
CSI H | Implemented |
CSI h | Partial | Modes: 4, 20
CSI ? h | Partial | Modes: 1, 3, 6, 7, 12, 25, 1000, 1002, 1004, 1005, 1006, 1007, 1042, 1049, 2004, 2026
CSI I | Implemented |
CSI J | Implemented |
CSI K | Implemented |
CSI L | Implemented |
CSI l | Partial | See CSI h for supported modes
CSI ? l | Partial | See CSI ? h for supported modes
CSI M | Implemented |
CSI m | Implemented | Parameters: 0-9, 21-25, 27-49, 58, 59, 90-97, 100-107
CSI m | Rejected | Parameters: 11-19, 51-55
CSI n | Implemented |
CSI P | Implemented |
CSI $ p | Implemented |
CSI ? $ p | Implemented |
CSI SP q | Implemented |
CSI r | Implemented |
CSI S | Implemented |
CSI s | Implemented |
CSI T | Implemented |
CSI t | Partial | Parameters: 22, 23
CSI t | Rejected | Parameters: 1-13, 15, 19-21, 24
CSI u | Implemented |
CSI ? u | Implemented |
CSI = u | Implemented |
CSI < u | Implemented |
CSI > u | Implemented |
CSI X | Implemented |
CSI Z | Implemented |

OSC (Operating System Command) - ESC ]

ESCAPE | STATUS | NOTE
OSC 0 | Implemented | Icon names are not supported
OSC 1 | Rejected | Icon names are not supported
OSC 2 | Implemented |
OSC 4 | Implemented |
OSC 8 | Implemented |
OSC 10 | Implemented |
OSC 11 | Implemented |
OSC 12 | Implemented |
OSC 50 | Implemented | Only CursorShape is supported
OSC 52 | Implemented | Only clipboard and primary selection supported
OSC 104 | Implemented |
OSC 110 | Implemented |
OSC 111 | Implemented |
OSC 112 | Implemented |

DCS (Device Control String) - ESC P

ESCAPE | STATUS | NOTE
DCS = s | Rejected | CSI ? 2026 h/l is used instead

SEE ALSO

alacritty(1), alacritty-msg(1), alacritty(5), alacritty-bindings(5)

BUGS

Found a bug? Please report it at https://github.com/alacritty/alacritty/issues.

MAINTAINERS

•   Christian Duerr <contact@christianduerr.com>
•   Kirill Chibisov <contact@kchibisov.com>