EnableMouse(TerminalMouseMode) Method

Definition

Assembly XenoAtom.Terminal.dll

Enables mouse reporting within a scope and restores the previous state when disposed (best effort).

public static TerminalScope EnableMouse(TerminalMouseMode mode = TerminalMouseMode.Drag)

Parameters

mode
TerminalMouseMode

The mouse reporting mode.

Returns

TerminalScope
A scope that restores the previous state on dispose.