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