DTTERMDISPLAYSEND(3)
π NAME π
okay so bestie, this is the DtTermDisplaySend(library call) manual page β yes, the manual name is a whole mouthful, but we're here and we're slaying π
. The actual name tea is: DtTermDisplaySend β send data to a DtTerm widget's display. No cap.
β¨ SYNOPSIS β¨
#include &<Dt/Term.h>
void DtTermDisplaySend(
Widget widget,
unsigned char *buffer,
int length);
π¦ DESCRIPTION π¦
The DtTermDisplaySend function sends data to a DtTerm widget's display. Simple as that, bestie.
widgetβ specifies theDtTermwidget ID. It's the "which widget are we even talking to" argument, iykyk.bufferβ specifies the string to be sent to the display (single- or multi-byte depending on the locale). The string may containNULLbytes. Yes,NULLbytes can be in there β not a typo, not a drill π.lengthβ specifies the length ofbufferin bytes. That's the byte count, periodt.
The DtTermDisplaySend function allows the program to write text directly to the DtTerm widget's text display. The text is handled in the same manner as text received from the child process. Before the text is written in the window, the DtTerm widget's input parser processes it. So like, parser first, window second β that's the order, bestie β¨.
π RETURN VALUES π
The DtTermDisplaySend function returns no value. Literally nothing. No return value era, and we respect it π.
π SEE ALSO π
The SEE ALSO lineup is literally: Dt/Term.h - DtTerm(5), DtTerm(3). Go check those besties out, iykyk π«Ά.
footer sign-off: the source/version label on this page is DtTermDisplaySend(library call), and there's no date printed with it, so that's the whole footer tea β mwah, bestie πβ¨
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms