mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
docs(coding-agent): note tmux 3.6 color reply leak in tmux guide (#11645)
Adds a troubleshooting section to the tmux guide (`packages/coding-agent/docs/tmux.md`, published at https://pi.dev/docs/latest/tmux) for the color-code text that tmux 3.6 types into the editor at startup. tmux 3.6 forwards Pi's palette queries to the outer terminal. When a reply reaches tmux split across reads, tmux treats its bytes as key presses and sends them to Pi as typed text. tmux 3.7 fixes this ([tmux#4749](https://github.com/tmux/tmux/issues/4749), [tmux#4793](https://github.com/tmux/tmux/issues/4793)). Pi cannot filter the text because it arrives exactly like typing. The section also notes that switching to a fixed theme does not help: `applyFromSettings()` queries terminal colors regardless of the theme, which reporters confirmed in #10679 (`--use-theme dark`) and #10256 (`"theme": "dark"`). Related: #10250, #10679, #10256.
This commit is contained in:
parent
f0646a00fb
commit
6de14ec098
1 changed files with 4 additions and 0 deletions
|
|
@ -53,3 +53,7 @@ set -g extended-keys on
|
|||
Pi supports the xterm `modifyOtherKeys` format used by these versions. Restart tmux and repeat the verification steps.
|
||||
|
||||
For older versions, upgrade tmux or use Pi outside tmux rather than relying on modified Enter shortcuts.
|
||||
|
||||
## Color codes appear in the editor with tmux 3.6
|
||||
|
||||
If text such as `c0c/0c0c/0c0c` appears in the editor at startup, upgrade tmux to 3.7 or newer. tmux 3.6 sometimes sends the terminal's color replies to Pi as typed text ([tmux#4749](https://github.com/tmux/tmux/issues/4749)). Changing Pi's theme does not help.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue