Table of Contents

Method OpenUrl

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

Opens the specified URL in the default web browser using a platform-specific mechanism.

public static void OpenUrl(string url)

Parameters

url string

The URL to open. Should be a well-formed absolute URI.

On Windows, uses cmd /c start. On macOS, uses open. On Linux, uses xdg-open.

Ampersands in the URL are escaped on Windows to prevent shell interpretation.