ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
size_packet_t Struct Reference

Terminal size update packet. More...

#include <include/ascii-chat/network/packet/packet.h>

Data Fields

uint32_t width
 Terminal width in characters.
uint32_t height
 Terminal height in characters.

Detailed Description

Terminal size update packet.

Packet structure for notifying server/client of terminal dimension changes. Used when terminal is resized to update rendering dimensions.

Definition at line 676 of file packet.h.

Field Documentation

◆ height

uint32_t size_packet_t::height

Terminal height in characters.

Definition at line 680 of file packet.h.

Referenced by handle_size_packet().

◆ width

uint32_t size_packet_t::width

Terminal width in characters.

Definition at line 678 of file packet.h.

Referenced by handle_size_packet().


The documentation for this struct was generated from the following file: