ascii-chat 0.11.33
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 637 of file packet.h.

Field Documentation

◆ height

uint32_t size_packet_t::height

Terminal height in characters.

Definition at line 641 of file packet.h.

Referenced by handle_size_packet().

◆ width

uint32_t size_packet_t::width

Terminal width in characters.

Definition at line 639 of file packet.h.

Referenced by handle_size_packet().


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