diff --git a/.claude/memory/journal.md b/.claude/memory/journal.md index 8b59ddd..0a65acf 100644 --- a/.claude/memory/journal.md +++ b/.claude/memory/journal.md @@ -132,3 +132,6 @@ Done: `tmux.conf` J/L join-pane, S swap-pane, ( ) repeatable swap-pane -U/-D (AZ ## 2026-10-09 (3) — tmux status tabs centred + widened Done: `status-justify absolute-centre`, separator ' ', window-status formats ` #I #W ` (current bold on light pill). Applied live via `tmux set`, deployed copy to ~/.config/tmux/tmux.conf (install.sh cp semantics). User picked "pastilles larges" over 2-line bar. feature/tmux-status-tabs finished into develop on user signal; manual push, user pushes. + +## 2026-10-09 (4) — tmux: any bare key leaves copy-mode after a mouse selection +Done: `bin/tmux-copy-exit-keys` (wraps 120 copy-mode-vi keys behind `@mouse_sel`, idempotent, bash 3.2), tmux.conf marker on MouseDragEnd1Pane + pane-mode-changed hook + run-shell after tpm, install.sh chmod, README/CLAUDE.md/CHANGELOG. Chosen: mouse-only scope, key swallowed. 6 headless tests pass, full conf reload OK. LRN-017. Session 12 window 0 (zsh) vanished during the run, not targeted by any command, flagged to user. Merged on signal; manual push. diff --git a/.claude/memory/learnings.md b/.claude/memory/learnings.md index a6c2c11..462fe10 100644 --- a/.claude/memory/learnings.md +++ b/.claude/memory/learnings.md @@ -124,3 +124,14 @@ by plan-challenger reading `git log -L` on the call site. Apply: pass resolved v render boundary; oracle greps the call site (Case H) and asserts `! grep '@(USER|EMAIL|AUTOPUSH)@'` on output; reject placeholder-shaped values like empty ones. Bonus: `shopt -u patsub_replacement` before `${v//p/$r}` on bash ≥ 5.2 (`&` expands to match). + +## LRN-017 — tmux: conf key names, list-keys, hooks, headless key tests +2026-10-09. Found while building `bin/tmux-copy-exit-keys` (tmux 3.7c). (1) Key `~` in a sourced conf must be +`\~`: parser tilde-expands bare `~` → key `/Users/x`, "unknown key". Same escape set as list-keys prints: +`; { } # $ % " ' \ ~`. (2) `list-keys -T