If you want to write one or more characters to the window without observing the settings of the window write options, use the video quantity of characters function, v_chq():
|
||
|
|
|
|
|
|
|
|
|
For the argument q, you can specify a number, or ENDROW to write characters to the end of the current row, or ENDWN to fill the rest of the window buffer with the specified character.
Output starts at the virtual cursor position and continues on the row until the specified number of characters is written. If the end of the row is reached and there are still more characters to write, output goes to the beginning of the next row. When the end of the window buffer is reached, output stops. The window write options are not respected, so no scrolling occurs and the virtual cursor does not move.
The window attribute is used to write the characters. You can change the window attribute with the function sw_att().