Syntax
xBool GtIsAlt( void );
Arguments
No arguments.
Return value
T if an Alt key is held down, otherwise F.
Description
Reports the modifier state recorded by the terminal driver. Poll it while processing keyboard events.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
puts( "Hold Alt while the terminal waits." );
Inkey( 3, NIL );
printf( "Alt state: %s\n", GtIsAlt() ? "on" : "off" );
return 0;
}