Lock the right pane while focused, add project focus, quiet lead

This commit is contained in:
Ian Gulliver
2026-10-15 09:59:13 -07:00
parent bdd1ae48f0
commit fdd005b591
32 changed files with 576 additions and 227 deletions
+9
View File
@@ -80,3 +80,12 @@ func (s *Server) SetFocus(w http.ResponseWriter, r *http.Request) {
}
writeJSON(w, http.StatusOK, f)
}
func (s *Server) SetPaneFocus(w http.ResponseWriter, r *http.Request) {
p := api.PaneFocus{}
if !readJSON(w, r, &p) {
return
}
s.agents.SetPaneFocus(actor(r), p.Focused)
w.WriteHeader(http.StatusNoContent)
}