Control characters appear in shell prompt line when new zellij session is opened
Author: leakybitsCreated May 12, 2026Updated Sep 16, 2026
Labelssuspected bug
Issue description
Sometimes, when I open a new zellij session, I see my shell prompt line contains some kind of control characters: 6;25;12t. This happens maybe 1/5 times I start zellij, not every time.
Minimal reproduction
Loop this until you see garbage on the prompt line:
ssh -t someuser@somehost zellij attach -cThis is real shell input, not a rendering glitch:
$ ssh -t someuser@somehost zellij attach -c
someuser@somehost ~> 6;25;12t # hit enter
fish: Unknown command: 6
fish: Unknown command: 25
fish:
6;25;12t
^^
fish: Unknown command: 12t
fish:
6;25;12t
^~^Other relevant information
$ zellij --version
zellij 0.45.0
$ fish --version
fish, version 4.7.1Source: zellij-org/zellij