Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Editors = []string{"code", "cursor", "vscodium", "windsurf", "zed", "sublime", "notepad"}
List of recognized editor process names (substring match, case-insensitive)
Functions ¶
func FocusWindow ¶
FocusWindow attempts to bring the window(s) associated with the given PIDs to the foreground.
func GetProcessName ¶
GetProcessName returns the name of the process with the given PID.
func GetWindowFocusError ¶
func GetWindowFocusError() string
GetWindowFocusError returns a platform-specific error message for missing tools.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.