Table of Contents

Event UnwrappedCursorPositionChanged

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

Raised when the cursor position changes, providing the position in unwrapped model coordinates.

public event EventHandler<Point>? UnwrappedCursorPositionChanged

Returns

EventHandler<Point>
Raised when the cursor position changes, providing the position in unwrapped model coordinates.

Remarks

This event is useful for knowing the cursor position in the original text, independent of how the text is displayed (wrapped or unwrapped). The Point provided contains (column, row) in the unwrapped model.