Files
small-scripts/memory/gotchas-wezterm.md
Paul O'Reilly 529e49fe98 Add reflected memory files and update git-status-report
Adds gotchas-wezterm and updates gotchas-bash from recent reflections.
Prunes old reflected log. Updates MEMORY.md index.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 09:38:00 +13:00

693 B

WezTerm Gotchas

Flatpak-installed WezTerm CLI not in PATH

wezterm CLI binary is not available in PATH when WezTerm is installed via Flatpak. Must invoke as flatpak run org.wezfurlong.wezterm cli .... Scripts should auto-detect both native (command -v wezterm) and Flatpak installations.

Proportional split math for equal-sized panes

To split a pane into N equal parts, each split i (0-indexed) uses percent = (N-1-i)*100/(N-i). Example for 3 equal parts: first split at 66%, second at 50%. The --horizontal flag creates a column (pane to the right); --bottom creates a row (pane below). wezterm cli split-pane returns the new pane ID on stdout for subsequent splits.