PatchworkOS
Loading...
Searching...
No Matches
terminal_t Struct Reference

Terminal structure. More...

#include <terminal.h>

Data Fields

window_twin
 
font_tfont
 
bool isCursorVisible
 
fd_t stdin [2]
 
fd_t stdout [2]
 
pixel_t foreground
 
pixel_t background
 
terminal_flags_t flags
 
ansi_sending_t ansi
 
terminal_char_t screen [TERMINAL_ROWS][TERMINAL_COLUMNS]
 
uint64_t firstRow
 
terminal_char_tsavedCursor
 
terminal_char_tprevCursor
 
terminal_char_tcursor
 
pid_t shell
 

Detailed Description

Terminal structure.

Definition at line 101 of file terminal.h.

Field Documentation

◆ ansi

ansi_sending_t terminal_t::ansi

Definition at line 111 of file terminal.h.

Referenced by terminal_handle_output(), and terminal_procedure().

◆ background

pixel_t terminal_t::background

◆ cursor

◆ firstRow

uint64_t terminal_t::firstRow

◆ flags

terminal_flags_t terminal_t::flags

Definition at line 110 of file terminal.h.

Referenced by terminal_procedure(), terminal_put(), and ternminal_execute_ansi().

◆ font

font_t* terminal_t::font

◆ foreground

pixel_t terminal_t::foreground

Definition at line 108 of file terminal.h.

Referenced by terminal_procedure(), terminal_put(), and ternminal_execute_ansi().

◆ isCursorVisible

bool terminal_t::isCursorVisible

Definition at line 105 of file terminal.h.

Referenced by terminal_cursor_update(), terminal_handle_output(), and terminal_procedure().

◆ prevCursor

◆ savedCursor

terminal_char_t* terminal_t::savedCursor

Definition at line 114 of file terminal.h.

Referenced by terminal_procedure(), and ternminal_execute_ansi().

◆ screen

◆ shell

pid_t terminal_t::shell

Definition at line 117 of file terminal.h.

Referenced by terminal_procedure().

◆ stdin

fd_t terminal_t::stdin[2]

Definition at line 106 of file terminal.h.

Referenced by terminal_handle_input(), terminal_procedure(), and ternminal_execute_ansi().

◆ stdout

fd_t terminal_t::stdout[2]

Definition at line 107 of file terminal.h.

Referenced by terminal_loop(), and terminal_procedure().

◆ win

window_t* terminal_t::win

Definition at line 103 of file terminal.h.

Referenced by terminal_handle_output(), and terminal_procedure().


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