General Questions
What is WezTerm?
What is WezTerm?
- GPU-accelerated rendering
- Built-in multiplexer (similar to tmux)
- Rich configuration via Lua
- Over 700 built-in color schemes
- Ligature and emoji support
- Hyperlink support
- Split panes and tabs
How do I configure WezTerm?
How do I configure WezTerm?
~/.wezterm.lua (or ~/.config/wezterm/wezterm.lua).Basic configuration structure:Where are WezTerm's config files located?
Where are WezTerm's config files located?
~/.wezterm.lua~/.config/wezterm/wezterm.lua(Unix/Linux)$XDG_CONFIG_HOME/wezterm/wezterm.lua(ifXDG_CONFIG_HOMEis set)- On Windows:
C:\Users\YourName\.wezterm.lua
- Unix:
$XDG_RUNTIME_DIR/wezterm - macOS/Windows:
$HOME/.local/share/wezterm
Unicode and Text Rendering
Unicode glyphs render as underscores in my tmux!
Unicode glyphs render as underscores in my tmux!
-
Set your locale correctly:
-
Kill and restart your tmux server:
- Check the TMUX FAQ for additional information.
20200620-160318-e00b076c or newer, LANG is set automatically.Some glyphs look messed up, why is that?
Some glyphs look messed up, why is that?
locale -a2. Font fallback issuesIf your primary font doesn’t contain a glyph, WezTerm tries to find it in fallback fonts. Configure explicit fallback:Pasting or entering unicode in zsh looks broken
Pasting or entering unicode in zsh looks broken
~/.zshrc:Some (but not all) Emoji don't render properly
Some (but not all) Emoji don't render properly
- Application doesn’t support emoji sequences: Some applications don’t correctly handle multi-codepoint emoji (like skin tone modifiers). The application needs to be updated.
- Emoji version incompatibility: Different emoji specifications exist. If pasting emoji into zsh REPL breaks, try emitting the same emoji from a script - WezTerm will likely render it correctly.
- Font doesn’t contain the emoji: Ensure Noto Color Emoji or similar is in your font fallback list (WezTerm includes this by default).
Multiple characters are being rendered as one character (ligatures)
Multiple characters are being rendered as one character (ligatures)
!= becomes ≠, -> becomes →.To disable ligatures:Keyboard and Input
How to troubleshoot keys that don't work or produce weird characters?
How to troubleshoot keys that don't work or produce weird characters?
xxd, press the problem key, then Enter, then Ctrl+D:TERM=xterm-256color by default. Changing this can break key handling.Step 4: Check for conflicts- Look for system-level keyboard utilities intercepting keys
- Check
~/.inputrcfor readline settings - If using tmux, test without tmux first
- Key bindings documentation
- Alt/Option key behavior on macOS
xxd output and your environment details.I have 'set convert-meta on' in my ~/.inputrc and characters are broken
I have 'set convert-meta on' in my ~/.inputrc and characters are broken
convert-meta readline setting re-encodes latin-1 characters incorrectly in UTF-8 environments.Example: £ becomes #Solution: Disable this setting for UTF-8:How do I use Alt/Option key on macOS?
How do I use Alt/Option key on macOS?
- Send Alt/Meta modifier (terminal behavior)
- Produce composed characters (macOS default)
Features and Capabilities
How do I enable undercurl (curly underlines)?
How do I enable undercurl (curly underlines)?
20210314-114017-04b7cedd.Escape sequences:.vimrc:How do I disable ligatures?
How do I disable ligatures?
calt- Contextual alternatesclig- Contextual ligaturesliga- Standard ligatures
Can I use custom color schemes?
Can I use custom color schemes?
.toml files in ~/.config/wezterm/colors/ with a [colors] section.Platform-Specific
I'm on macOS and wezterm cannot find things in my PATH
I'm on macOS and wezterm cannot find things in my PATH
-l flag to source .zprofile (for Homebrew users) or -i to source .zshrc.I use X11 or Wayland and my mouse cursor theme doesn't work
I use X11 or Wayland and my mouse cursor theme doesn't work
- Checking
xcursor_themeconfig - Reading X11
RESOURCE_MANAGERorXCURSOR_THEMEenv var - Looking in
XCURSOR_PATHor default icon directories - Falling back to X11 cursor font
I use Powershell and cursor keys don't work in other apps
I use Powershell and cursor keys don't work in other apps
ESC O A instead of ESC [ A, which breaks some applications.This is not a WezTerm issue - it affects all terminal emulators running PowerShell. The PowerShell team needs to fix this.Workaround: Use a different shell, or restart the affected program in a new terminal session.Fonts
How do I find out what fonts WezTerm is using?
How do I find out what fonts WezTerm is using?
- Which font file is used for each character
- Font weight and style
- Where the font was found (system, config, bundled)
How do I use Nerd Fonts or Powerline symbols?
How do I use Nerd Fonts or Powerline symbols?
What fonts does WezTerm bundle?
What fonts does WezTerm bundle?
- JetBrains Mono - Main default font
- Nerd Font Symbols - Icons and powerline glyphs
- Noto Color Emoji - Emoji support
Configuration
How do I reload my configuration?
How do I reload my configuration?
- Press
Ctrl+Shift+R(orCmd+Shift+Ron macOS) - Use the command:
wezterm cli load-config
Can I use multiple configuration files?
Can I use multiple configuration files?
require to split configuration:~/.wezterm.lua:~/.config/wezterm/keybindings.lua:How do I see all current key bindings?
How do I see all current key bindings?
Troubleshooting
How do I enable debug logging?
How do I enable debug logging?
WezTerm is slow or using too much CPU/GPU
WezTerm is slow or using too much CPU/GPU
-
Transparency/opacity:
-
Large background image:
- Resize image to screen resolution
- Or disable: remove
window_background_image
-
High animation rate:
-
Runaway process in terminal:
- Check with
toporhtop - Some programs output huge amounts of data
- Check with
Where do I report bugs or request features?
Where do I report bugs or request features?
- Search existing issues
- Check the documentation
- Open a new issue
- WezTerm version:
wezterm --version - Operating system and version
- Minimal config to reproduce
- Debug logs if relevant:
WEZTERM_LOG=debug