Syntax
int Row( void );
Arguments
No arguments.
Return value
The current zero-based cursor row.
Description
Read the zero-based row of the text cursor. Both console output and `SetPos()` can change it. Save `Row()` and `Col()` before temporary output and pass them to `SetPos()` to restore the position.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
SetPos( 2, 10 );
printf( "Row: %d\n", Row() );
return 0;
}