|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
TTY detection and management structure. More...
#include <lib/platform/terminal.h>
Data Fields | |
| int | fd |
| File descriptor for TTY access. | |
| const char * | path |
| Path to TTY device (e.g., "/dev/tty", "CON", etc.) | |
| bool | owns_fd |
| True if we opened the FD and should close it, false otherwise. | |
TTY detection and management structure.
Contains information about the current TTY (terminal) including file descriptor, device path, and ownership information for proper cleanup.
Definition at line 523 of file terminal.h.
| int tty_info_t::fd |
File descriptor for TTY access.
Definition at line 525 of file terminal.h.
Referenced by display_cleanup(), display_full_reset(), and display_init().
| bool tty_info_t::owns_fd |
True if we opened the FD and should close it, false otherwise.
Definition at line 529 of file terminal.h.
Referenced by display_cleanup().
| const char* tty_info_t::path |
Path to TTY device (e.g., "/dev/tty", "CON", etc.)
Definition at line 527 of file terminal.h.