Skip to content

Commit bab1a6a

Browse files
committed
🤖 fix: set TERM_PROGRAM and disable problematic zsh features
- Set TERM_PROGRAM=cmux to identify embedded terminal - Set DISABLE_AUTO_TITLE=true to prevent title escape sequences - Set ZSH_AUTOSUGGEST_STRATEGY=history for simpler completions - Reduces rendering issues with complex zsh plugins/prompts User can detect cmux terminal in .zshrc with: if [[ $TERM_PROGRAM == 'cmux' ]]; then # Use simpler prompt/plugins fi _Generated with `cmux`_
1 parent 2b49d0d commit bab1a6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/services/ptyService.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ export class PTYService {
7070
env: {
7171
...process.env,
7272
TERM: "xterm-256color",
73+
TERM_PROGRAM: "cmux",
74+
// Disable problematic zsh features for embedded terminal
75+
DISABLE_AUTO_TITLE: "true",
76+
ZSH_AUTOSUGGEST_STRATEGY: "history", // Simpler completion
7377
} as Record<string, string>,
7478
});
7579

0 commit comments

Comments
 (0)