TerminalControl.ScreenPosition Property
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.Control.dll (version 7.0.9119)
ScreenPosition
Gets the first displayed row of the terminal screen. Values goes from zero to minus HistoryLength.
Declaration
[Browsable(false)]
public int ScreenPosition { get; }
Property Value
Type | Description |
---|---|
Int32 | The first displayed row of the terminal screen. |
Examples
To get content of currently displayed screen call:
Screen.GetRegionText(0, ScreenPosition, Screen.Columns, Screen.Rows)