Add town session cycling for mayor/deacon (C-b n/p)
- Create gt town next/prev commands for cycling between town-level sessions - Add SetTownCycleBindings() to tmux package - Wire up bindings when starting mayor and deacon sessions Now mayor and deacon have the same C-b n/p cycling behavior as crew workers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -126,6 +126,9 @@ func startMayorSession(t *tmux.Tmux) error {
|
||||
theme := tmux.MayorTheme()
|
||||
_ = t.ConfigureGasTownSession(MayorSessionName, theme, "", "Mayor", "coordinator")
|
||||
|
||||
// Set up C-b n/p keybindings for town session cycling (non-fatal)
|
||||
_ = t.SetTownCycleBindings(MayorSessionName)
|
||||
|
||||
// Launch Claude - the startup hook handles 'gt prime' automatically
|
||||
// Use SendKeysDelayed to allow shell initialization after NewSession
|
||||
// Export GT_ROLE and BD_ACTOR in the command since tmux SetEnvironment only affects new panes
|
||||
|
||||
Reference in New Issue
Block a user