# Text

The Text function writes a text string to the screen. FAR uses internal screen buffering to improve performance so for compatibility reasons plugins must not write text directly to screen, but should use the Text function instead.

    void WINAPI Text(
      int X,
      int Y,
      int Color,
      const char *Str
    );

### Parameters

X,Y
Text coordinates. The origin of the coordinate system (0,0) - is at the top left cell of the screen.
Color
Text color attributes.
Str
Null-terminated text string. To display changes immediately call Text with Str set to `NULL` just after writing the string, for FAR to flush its screen buffer. But do not overuse it, because frequent buffer flushing decreases overall performance.

### Return value

None.