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

Method CreateWindow

pkg/service/windowservice/windowservice.go:45–51  ·  view source on GitHub ↗
(ctx context.Context, winSize *waveobj.WinSize, workspaceId string)

Source from the content-addressed store, hash-verified

43}
44
45func (svc *WindowService) CreateWindow(ctx context.Context, winSize *waveobj.WinSize, workspaceId string) (*waveobj.Window, error) {
46 window, err := wcore.CreateWindow(ctx, winSize, workspaceId)
47 if err != nil {
48 return nil, fmt.Errorf("error creating window: %w", err)
49 }
50 return window, nil
51}
52
53func (svc *WindowService) SetWindowPosAndSize_Meta() tsgenmeta.MethodMeta {
54 return tsgenmeta.MethodMeta{

Callers

nothing calls this directly

Calls 1

CreateWindowFunction · 0.92

Tested by

no test coverage detected