Description
When the hub process is started via launchd (macOS), systemd (Linux), or Docker, the spawned terminal PTY sessions inherit a stripped-down environment that is missing critical terminal variables.
Expected behavior
Terminal sessions should have sensible defaults for TERM, COLORTERM, and LANG so that colors, cursor movement, and Unicode rendering work out of the box.
Actual behavior
| Variable |
Missing behavior |
TERM |
Programs fall back to dumb mode — no colors, no cursor movement |
COLORTERM |
Shell prompts (e.g. Powerlevel10k) skip truecolor output |
LANG |
Non-ASCII glyphs (powerline symbols, emoji, CJK characters) render as replacement characters � |
Steps to reproduce
- Start the hub via Docker or launchd (not from an interactive terminal)
- Open a terminal session in the web UI
- Observe broken colors, missing glyphs, and degraded prompt rendering
Environment
- macOS (launchd) and Linux (Docker/systemd)
- Shell: zsh with oh-my-zsh / Powerlevel10k
Fix
PR #495 adds defaults (xterm-256color, truecolor, en_US.UTF-8) only when not already set.
Description
When the hub process is started via launchd (macOS), systemd (Linux), or Docker, the spawned terminal PTY sessions inherit a stripped-down environment that is missing critical terminal variables.
Expected behavior
Terminal sessions should have sensible defaults for
TERM,COLORTERM, andLANGso that colors, cursor movement, and Unicode rendering work out of the box.Actual behavior
TERMdumbmode — no colors, no cursor movementCOLORTERMLANG�Steps to reproduce
Environment
Fix
PR #495 adds defaults (
xterm-256color,truecolor,en_US.UTF-8) only when not already set.