Functions

QOut

Start a new line in the text window and write text

Syntax

Signature
void QOut( const char *text );

Arguments

text NUL-terminated text. NULL is treated as empty text.

Return value

No return value.

Description

Write a carriage return and line feed before the text, then print it using terminal console output. A `NULL` string still starts a new line. Console output wraps at the right edge and scrolls at the bottom. Use `QQOut()` to append text without starting another line.

Example

qout.c
#include "xdev-wtui.h"

int main( void )
{
   QOut( "First line" );
   QOut( "Second line" );

   Inkey( 0, NIL );

   return 0;
}