Keep pane focus and its report time in one record
This commit is contained in:
@@ -56,8 +56,7 @@ type Manager struct {
|
||||
closing bool
|
||||
rateLimits map[api.AgentSessionVendor]api.Usage
|
||||
usageCommands map[api.AgentSessionVendor]string
|
||||
paneFocus map[string]api.PaneFocus
|
||||
paneReported map[string]time.Time
|
||||
paneReports map[string]paneReport
|
||||
paneMoved map[string]time.Time
|
||||
moveHolds map[string]showHold
|
||||
startHolds map[string]showHold
|
||||
@@ -162,8 +161,7 @@ func New(st *store.Store, worktreeRoot, leadRoot, handsRoot, codexHome, antigrav
|
||||
rateLimits: map[api.AgentSessionVendor]api.Usage{},
|
||||
usageCommands: map[api.AgentSessionVendor]string{},
|
||||
usageMu: map[api.AgentSessionVendor]*sync.Mutex{api.Claude: {}, api.Codex: {}, api.Antigravity: {}},
|
||||
paneFocus: map[string]api.PaneFocus{},
|
||||
paneReported: map[string]time.Time{},
|
||||
paneReports: map[string]paneReport{},
|
||||
paneMoved: map[string]time.Time{},
|
||||
moveHolds: map[string]showHold{},
|
||||
startHolds: map[string]showHold{},
|
||||
|
||||
Reference in New Issue
Block a user