MCPcopy Create free account
hub / github.com/Facets-cloud/flow / kittyOSWindow

Struct kittyOSWindow

internal/kitty/kitty.go:150–152  ·  view source on GitHub ↗

kittyOSWindow / kittyTab / kittyWindow / kittyFGProc are the minimal subset of the `kitty @ ls` JSON schema we care about. The full schema has many more fields (geometry, env, title, padding, etc.) but only the window id and the foreground_processes cmdline matter for focus matching.

Source from the content-addressed store, hash-verified

148// the window id and the foreground_processes cmdline matter for focus
149// matching.
150type kittyOSWindow struct {
151 Tabs []kittyTab `json:"tabs"`
152}
153type kittyTab struct {
154 Windows []kittyWindow `json:"windows"`
155}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected