FabGL
ESP32 Display Controller and Graphics Library
|
size_t fabgl::Terminal::write | ( | const uint8_t * | buffer, |
size_t | size | ||
) |
Sends specified number of codes to the display.
Codes can be ANSI/VT codes or ASCII characters.
buffer | Pointer to codes buffer. |
size | Number of codes in the buffer. |
Example:
// Clear the screen and print "Hello World!" Terminal.write("\e[2J", 4); Terminal.write("Hellow World!\r\n", 15); // The same without size specified Terminal.write("\e[2J"); Terminal.write("Hellow World!\r\n");