Table of Contents

Method IsWSL

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

IsWSL()

Determines if the current platform is WSL (Windows Subsystem for Linux).

public static bool IsWSL()

Returns

bool

True if running on WSL, false otherwise.