ELinks 0.16.1.1
|
Data Structures | |
struct | terminal_screen |
The terminal's screen manages. More... |
Functions | |
static void | set_screen_dirty (struct terminal_screen *screen, int from, int to) |
Mark the screen ready for redrawing. | |
struct terminal_screen * | init_screen (void) |
Initializes a screen. | |
void | done_screen (struct terminal_screen *screen) |
Cleans up after the screen. | |
void | resize_screen (struct terminal *term, int x, int y) |
Update the size of the previous and the current screen image to hold x time y chars. | |
void | redraw_screen (struct terminal *term) |
Updates the terminal screen. | |
void | erase_screen (struct terminal *term) |
Erases the entire screen and moves the cursor to the upper left corner. | |
void | beep_terminal (struct terminal *term) |
Meeep! |
Variables | |
struct module | terminal_screen_module |
void beep_terminal | ( | struct terminal * | term | ) |
Meeep!
void done_screen | ( | struct terminal_screen * | screen | ) |
Cleans up after the screen.
void erase_screen | ( | struct terminal * | term | ) |
Erases the entire screen and moves the cursor to the upper left corner.
struct terminal_screen * init_screen | ( | void | ) |
Initializes a screen.
Returns NULL upon allocation failure.
void redraw_screen | ( | struct terminal * | term | ) |
Updates the terminal screen.
Updating of the terminal screen is done by checking what needs to be updated using the last screen.
void resize_screen | ( | struct terminal * | term, |
int | width, | ||
int | height ) |
Update the size of the previous and the current screen image to hold x time y chars.
The two images are allocated in one chunk.
|
inlinestatic |
Mark the screen ready for redrawing.
|
extern |