DTTERMDISPLAYSEND(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– 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 the DtTerm widget 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 contain NULL bytes. Yes, NULL bytes can be in there β€” not a typo, not a drill 😭.
  • length β€” specifies the length of buffer in 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