When a window is set on the screen with wn_up(), the virtual cursor is automatically placed at the coordinates (0, 0), which is the upper left corner of the buffer. To move the virtual cursor to the window location where you want to write, use the move virtual cursor function, cs_mv():
|
||
|
|
|
|
|
|
|
|
|
For example, to write a string starting at row 3, column 5 of the example window:
|
After the string is written, the virtual cursor will be located immediately after the last character written.