Skip to content

WezTerm

A cross-platform GPU-rendered emulator with a Lua configuration API and its own built-in multiplexer.

Identity

  • TERM: xterm-256color; a wezterm terminfo is available for installation.
  • TERM_PROGRAM: WezTerm; TERM_PROGRAM_VERSION carries the version.
  • WEZTERM_EXECUTABLE, WEZTERM_PANE, and WEZTERM_UNIX_SOCKET are set.
  • XTVERSION: DCS > | WezTerm <version> ST.

Documentation

Notable behavior

  • Implements Sixel, the Kitty graphics protocol, and iTerm2 inline images.
  • Implements the Kitty keyboard protocol and xterm modifyOtherKeys.
  • Supports OSC 8, 52, 7, 133, 1337 (a subset), and 9;4 progress.
  • Synchronized output (mode 2026) is supported.
  • Versions are date-stamped (YYYYMMDD-HHMMSS-hash); nightly builds are common in the wild, so record the full string in observations.

Version notes

See the changelog; each entry notes escape-sequence additions.

Probe

wezterm --version
tools/query '\033[>0q'

Feature support

Records are maintained independently in tdn/terminals/wezterm.yaml. Unlisted features are unknown. See the comparison for all features.

FeatureSupportAs ofNotes and evidence
Kitty
apc-kitty-graphics
SupportedImported · unverifiedUnversionedYes ([WezTerm image protocols](https://wezterm.org/imgcat.html).) | Also recorded: Yes ([WezTerm imgcat](https://wezterm.org/imgcat.html).); Placeholders `?`; animation No

import import

BEL urgency/visual
c0-bel-attention
SupportedImported · unverifiedUnversionedYes

import

14/16 pixel sizes
csi-14-16-t-pixel-sizes
SupportedImported · unverifiedUnversionedYes

import

18 size in cells
csi-18-t-text-size
SupportedImported · unverifiedUnversionedYes

import

22/23 title stack
csi-22-23-t-title-stack
SupportedImported · unverifiedUnversionedYes

import

Move/resize (3,4,8)
csi-3-4-8-t-move-resize
PartialImported · unverifiedUnversionedPartial

import

ED 3 (scrollback)
csi-3-j-erase-scrollback
SupportedImported · unverifiedUnversionedYes

import

DECRQM
csi-decrqm
SupportedImported · unverifiedUnversionedYes

import

DECSLRM / ?69
csi-decslrm
SupportedImported · unverifiedUnversionedYes

import

DECSTBM
csi-decstbm
SupportedImported · unverifiedUnversionedYes

import

DECSTR
csi-decstr
SupportedImported · unverifiedUnversionedYes

import

ED/EL/ECH/ICH/DCH/IL/DL
csi-editing-operations
SupportedImported · unverifiedUnversionedYes

import

modifyOtherKeys
csi-modify-other-keys
SupportedImported · unverifiedUnversionedYes; `enable_csi_u_key_encoding` and modifyOtherKeys handling ([WezTerm configuration reference](https://wezterm.org/config/lua/config/enable_csi_u_key_encoding.html).)

import

REP
csi-rep
SupportedImported · unverifiedUnversionedYes

import

SU/SD
csi-su-sd-scroll
SupportedImported · unverifiedUnversionedYes

import

Kitty keyboard protocol
csi-u-kitty-keyboard
SupportedImported · unverifiedUnversionedYes; `enable_kitty_keyboard`; default off ([WezTerm `enable_kitty_keyboard`](https://wezterm.org/config/lua/config/enable_kitty_keyboard.html).)

import

DECRQSS
dcs-decrqss
SupportedImported · unverifiedUnversionedYes; [escape sequences](https://wezterm.org/escape-sequences.html)

import

Sixel
dcs-sixel
SupportedImported · unverifiedUnversionedYes ([WezTerm image protocols](https://wezterm.org/imgcat.html).) | Also recorded: Yes ([WezTerm imgcat](https://wezterm.org/imgcat.html).)

import import

XTGETTCAP
dcs-xtgettcap
SupportedImported · unverifiedUnversionedYes; [escape sequences](https://wezterm.org/escape-sequences.html)

import

1000 mouse
dec-mode-1000-mouse
SupportedImported · unverifiedUnversionedYes

import

1002 button motion
dec-mode-1002-button-motion
SupportedImported · unverifiedUnversionedYes

import

1003 all motion
dec-mode-1003-all-motion
SupportedImported · unverifiedUnversionedYes

import

1004 focus
dec-mode-1004-focus
SupportedImported · unverifiedUnversionedYes ([WezTerm escape sequences](https://wezterm.org/escape-sequences.html).)

import

1006 sgr mouse
dec-mode-1006-sgr-mouse
SupportedImported · unverifiedUnversionedYes

import

1007 alternate scroll
dec-mode-1007-alternate-scroll
SupportedImported · unverifiedUnversionedYes

import

1016 pixel mouse
dec-mode-1016-pixel-mouse
SupportedImported · unverifiedUnversionedYes

import

1049 alternate screen
dec-mode-1049-alternate-screen
SupportedImported · unverifiedUnversionedYes

import

2004 bracketed paste
dec-mode-2004-bracketed-paste
SupportedImported · unverifiedUnversionedYes | Also recorded: Yes; ([WezTerm escape sequences](https://wezterm.org/escape-sequences.html).)

import import

2026 synchronized output
dec-mode-2026-synchronized-output
SupportedImported · unverifiedUnversionedYes

import

Grapheme cluster mode (2027)
dec-mode-2027-grapheme-clusters
PartialImported · unverifiedUnversionedPartial ([WezTerm escape sequences](https://wezterm.org/escape-sequences.html).); Clusters unconditionally; mode reported as `?`

import

2048 in band resize
dec-mode-2048-in-band-resize
SupportedImported · unverifiedUnversionedYes

import

?45 reverse wrap
dec-mode-45-reverse-wrap
SupportedImported · unverifiedUnversionedYes

import

win32-input-mode
dec-mode-9001-win32-input
SupportedImported · unverifiedUnversionedYes; Implements it on Windows for ConPTY ([WezTerm `allow_win32_input_mode`](https://wezterm.org/config/lua/config/allow_win32_input_mode.html).)

import

DECSCA/DECSED/DECSEL
dec-selective-erase
SupportedImported · unverifiedUnversionedYes

import

DEC Special Graphics
esc-dec-special-graphics
SupportedImported · unverifiedUnversionedYes ([WezTerm escape sequences](https://wezterm.org/escape-sequences.html).)

import

OSC 0/2 set
osc-0-2-title
SupportedImported · unverifiedUnversionedYes

import

OSC 10/11 query
osc-10-11-default-colors-query
SupportedImported · unverifiedUnversionedYes

import

OSC 10/11 set
osc-10-11-default-colors-set
SupportedImported · unverifiedUnversionedYes

import

104/110/111 reset
osc-104-110-111-color-reset
SupportedImported · unverifiedUnversionedYes

import

OSC 12 cursor
osc-12-cursor-color
SupportedImported · unverifiedUnversionedYes

import

OSC 133 A–D
osc-133-prompt-marks
SupportedImported · unverifiedUnversionedYes

import

OSC 1337 CurrentDir
osc-1337-current-dir
SupportedImported · unverifiedUnversionedYes

import

OSC 1337 (any)
osc-1337-family
PartialImported · unverifiedUnversionedPartial

import

iTerm2
osc-1337-inline-images
SupportedImported · unverifiedUnversionedYes ([WezTerm image protocols](https://wezterm.org/imgcat.html).) | Also recorded: Yes ([WezTerm imgcat](https://wezterm.org/imgcat.html).)

import import

OSC 1337 SetUserVar
osc-1337-set-user-var
SupportedImported · unverifiedUnversionedYes

import

OSC 4 query
osc-4-palette-query
SupportedImported · unverifiedUnversionedYes

import

OSC 4 set
osc-4-palette-set
SupportedImported · unverifiedUnversionedYes

import

OSC 52 read
osc-52-read
UnknownImported · unverifiedUnversioned?; Writes allowed; reads deliberately unimplemented

import

OSC 52 write
osc-52-write
SupportedImported · unverifiedUnversionedYes; Writes allowed; reads deliberately unimplemented

import

OSC 7
osc-7-working-directory
SupportedImported · unverifiedUnversionedYes

import

OSC 777 notify
osc-777-notification
SupportedImported · unverifiedUnversionedYes

import

OSC 8 hyperlinks
osc-8-hyperlinks
SupportedImported · unverifiedUnversionedYes

import

id= grouping
osc-8-link-id
SupportedImported · unverifiedUnversionedYes

import

OSC 9 notify
osc-9-notification
SupportedImported · unverifiedUnversionedYes

import

256 colors
sgr-256-colors
SupportedImported · unverifiedUnversionedYes

import

Italic 3
sgr-3-italic
SupportedImported · unverifiedUnversionedYes

import

Colon form 38:2
sgr-38-2-colon-form
SupportedImported · unverifiedUnversionedYes

import

Truecolor 38;2
sgr-38-2-truecolor
SupportedImported · unverifiedUnversionedYes

import

Underline styles 4:n
sgr-4-underline-styles
SupportedImported · unverifiedUnversionedYes

import

Blink 5
sgr-5-blink
SupportedImported · unverifiedUnversionedYes

import

Overline 53
sgr-53-overline
SupportedImported · unverifiedUnversionedYes

import

Underline color 58
sgr-58-underline-color
SupportedImported · unverifiedUnversionedYes

import

Strikethrough 9
sgr-9-strikethrough
SupportedImported · unverifiedUnversionedYes

import

Ships its own shell scripts
shell-integration-scripts
SupportedImported · unverifiedUnversionedYes

import

bce
terminfo-bce
SupportedImported · unverifiedUnversionedYes

import

Ambiguous-width option
text-ambiguous-width
SupportedImported · unverifiedUnversionedYes ([WezTerm config reference](https://wezterm.org/config/lua/config/treat_east_asian_ambiguous_width_as_wide.html).)

import

Bold-is-bright option
text-bold-is-bright
SupportedImported · unverifiedUnversionedYes

import

Synthesized box drawing
text-box-drawing
SupportedImported · unverifiedUnversionedYes

import

Color emoji rendering
text-color-emoji
SupportedImported · unverifiedUnversionedYes

import

Italic face
text-italic-face
SupportedImported · unverifiedUnversionedYes

import

Ligatures / shaping
text-shaping
SupportedImported · unverifiedUnversionedYes ([WezTerm, `harfbuzz_features`](https://wezterm.org/config/lua/config/harfbuzz_features.html).)

import

Bundled Unicode tables
text-unicode-tables
SupportedImported · unverifiedUnversionedYes

import

VS16 widens
text-vs16-width
SupportedImported · unverifiedUnversionedYes ([WezTerm config reference](https://wezterm.org/config/lua/config/treat_east_asian_ambiguous_width_as_wide.html).)

import