Click or drag to resize

OhioScreenWaitForCursorColumnAsync Method

Waits for cursor to appear at the column position (zero-based). Useful for VT sessions.

Namespace: Flex.Hal.Ohio
Assembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax
public Task<bool> WaitForCursorColumnAsync(
	int column,
	CancellationToken canceltoken = default
)

Parameters

column  Int32
Column position to wait for.
canceltoken  CancellationToken  (Optional)
Token to cancel the wait.

Return Value

TaskBoolean
True if the cursor appears at the column position before a time-out or cancellation; otherwise, false.
Exceptions
ExceptionCondition
TimeoutExceptionWaitThrowException is enabled and a time-out occurs.
OperationCanceledExceptionWaitThrowException is enabled and a cancellation occurs.
See Also