MCPcopy Create free account
hub / github.com/nikivdev/go / normalizeWindowTitle

Function normalizeWindowTitle

cli/flow/main.go:2120–2125  ·  view source on GitHub ↗
(title string)

Source from the content-addressed store, hash-verified

2118}
2119
2120func normalizeWindowTitle(title string) string {
2121 if title == "" {
2122 return ""
2123 }
2124 return strings.TrimSpace(title)
2125}
2126
2127func cursorFrontWindowTitle() (string, error) {
2128 script := `tell application "System Events"

Callers 1

focusCursorWindowByTitleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected