MCPcopy
hub / github.com/wavetermdev/waveterm / Window

Struct Window

pkg/waveobj/wtype.go:147–156  ·  view source on GitHub ↗

stores the ui-context of the window, points to a workspace containing the actual data being displayed in the window

Source from the content-addressed store, hash-verified

145
146// stores the ui-context of the window, points to a workspace containing the actual data being displayed in the window
147type Window struct {
148 OID string `json:"oid"`
149 Version int `json:"version"`
150 WorkspaceId string `json:"workspaceid"`
151 IsNew bool `json:"isnew,omitempty"` // set when a window is created on the backend so the FE can size it properly. cleared on first resize
152 Pos Point `json:"pos"`
153 WinSize WinSize `json:"winsize"`
154 LastFocusTs int64 `json:"lastfocusts"`
155 Meta MetaMapType `json:"meta"`
156}
157
158func (*Window) GetOType() string {
159 return OType_Window

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected