Yazi inside tmux hangs on first action
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
foot 1.28.0
ya env output
Yazi
Version: 26.9.1 (5f901b8 2026-09-01)
Debug : false
Triple : x86_64-unknown-linux-gnu (linux-x86_64)
Rustc : 1.98.0 (88d9e12a 2026-08-18)
Backtrace: None
Ya
Version: 26.9.1 (5f901b8 2026-09-01)
Debug : false
Triple : x86_64-unknown-linux-gnu (linux-x86_64)
Rustc : 1.98.0 (88d9e12a 2026-08-18)
Config
Init : /home/user/.config/yazi/init.lua (806 chars)
Yazi : /home/user/.config/yazi/yazi.toml (947 chars)
Keymap : /home/user/.config/yazi/keymap.toml (2369 chars)
Theme : /home/user/.config/yazi/theme.toml (35 chars)
VFS : /home/user/.config/yazi/vfs.toml (No such file or directory (os error 2))
Package : /home/user/.config/yazi/package.toml (426 chars)
Dark/light flavor: ArcSwapAny("catppuccin-mocha") / ArcSwapAny("")
Emulator
TERM : Some("foot")
TERM_PROGRAM : None
TERM_PROGRAM_VERSION: None
Brand.from_env : Some(Foot)
Emulator.probe : Emulator { brand: Foot, version: ArcSwapAny("foot(1.28.0)"), csi_u: Some(0), kgp: false, kgp_shm: false, sixel: true, background: Some([7710, 7453, 14135]), color_scheme: Some(false), csi_16t: (21, 43), force_16t: false, osc_5522: false, cursor_blink: false, cursor_shape: Some(2), mux: None, probe: Probe { id: Id(0), completed: false }, started: false }
Adapter
Drivers.matches: Sixel
TERM.dimension : Dimension { cols: 108, rows: 33, width: 2268, height: 1419 }
Desktop
XDG_SESSION_TYPE : Some("wayland")
WAYLAND_DISPLAY : Some("wayland-1")
DISPLAY : Some(":0")
NIRI_SOCKET : None
SWAYSOCK : Some("/run/user/1000/sway-ipc.1000.1785.sock")
HYPRLAND_INSTANCE_SIGNATURE: None
WAYFIRE_SOCKET : None
SSH
shared.in_ssh_connection: false
WSL
WSL: false
Variables
SHELL : Some("/usr/bin/fish")
EDITOR : Some("nvim")
VISUAL : Some("nvim")
YAZI_FILE_ONE : None
YAZI_CONFIG_HOME : None
YAZI_ZOXIDE_OPTS : None
SSH_AUTH_SOCK : Some("/run/user/1000/ssh-agent.socket")
FZF_DEFAULT_OPTS : None
FZF_DEFAULT_COMMAND: None
Text Opener
default : Some(OpenerRuleArc(OpenerRule { id: Id(3), run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: Unix, spread: true }))
block-create: Some(OpenerRuleArc(OpenerRule { id: Id(3), run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: Unix, spread: true }))
block-rename: Some(OpenerRuleArc(OpenerRule { id: Id(3), run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: Unix, spread: true }))
Multiplexers
tmux version : tmux 3.7c
tmux build flags : enable-sixel=Supported
ZELLIJ_SESSION_NAME: None
Zellij version : No such file or directory (os error 2)
Dependencies
file : 5.48
ueberzugpp : No such file or directory (os error 2)
ffmpeg/ffprobe: 9.0.1 / 9.0.1
pdftoppm : 26.08.0
magick : 7.1.2-31
fzf : 0.74.3
fd/fdfind : 10.5.0 / No such file or directory (os error 2)
rg : 15.2.0
chafa : No such file or directory (os error 2)
zoxide : No such file or directory (os error 2)
7zz/7z : No such file or directory (os error 2) / 26.03
resvg : 0.48.1
jq : 1.8.2
Clipboard
wl-copy/paste: 2.3.0 / 2.3.0
xclip : No such file or directory (os error 2)
xsel : No such file or directory (os error 2)
Routine
`file -bL --mime-type`: text/plainDescribe the bug
The newest yazi version (26.9.1) hangs on the first action (opening a file, dropping into the terminal; anything that suspends yazi). After a certain time (a few second), it continues. Triggering that action again (opening a file etc.) in the same yazi instance does not hang again.
Minimal reproducer
Run these two commands:
$ YAZI_CONFIG_HOME=$(mktemp -d) tmux -L test -f /dev/null new -d -s test yazi
$ tmux -L test attach -t testAnything else?
I have a custom script that I start tmux sessions from that starts yazi in a pane for me in a pre-defined "layout" (different tmux windows with different things started up in them, one of them being yazi). The above steps are the most minimal steps to reproduce the problem without any custom config.
This worked without any issue in yazi 26.8.15
It could be related to https://github.com/sxyazi/yazi/pull/4271 https://github.com/tmux/tmux/issues/5530
Checklist
- I tried the latest nightly build, and the issue is still reproducible
- I updated the environment information (
ya env) field to the nightly that I tried - I can reproduce it after disabling all custom configs/plugins (
mv ~/.config/yazi ~/.config/yazi-backup)
Source: sxyazi/yazi