Documentation
¶
Overview ¶
Package opener hands a link or path to the desktop without waiting for the application that receives it.
Index ¶
Constants ¶
const BrowserFailureWord = "could not open your browser · open the link above"
BrowserFailureWord is the recovery line shared by first run and terminal connection commands. The link is already visible immediately above it.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command reports the platform program that opens a target. Linux answers xdg-open exactly as the chat surface always has, so a machine where that works keeps working; a WSL box that has no xdg-open at all falls to wslview, the bridge into the Windows desktop, rather than to a sentence saying the browser did not open. The order matters: on a WSL install where xdg-open is present it is usually wired to wslview already, and preferring wslview over it would change which browser opens on a machine that was fine.
Types ¶
This section is empty.