|
ELinks 0.19.1
|

Data Structures | |
| struct | terminal_screen |
| The terminal's screen manages. More... | |
Functions | |
| void | set_screen_dirty (struct terminal_screen *screen, int from, int to) |
| Mark the screen ready for redrawing. | |
| void | set_screen_dirty_image (struct terminal_screen *screen, int from, int to) |
| 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! | |
| struct string * | add_cursor_move_to_string (struct string *screen, int y, int x) |
| Adds the term code for positioning the cursor at x and y to string. | |
Variables | |
| struct module | terminal_screen_module |
Adds the term code for positioning the cursor at x and y to string.
The template term code is: "\033[<y>;<x>H"
| 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.
| void set_screen_dirty | ( | struct terminal_screen * | screen, |
| int | from, | ||
| int | to ) |
Mark the screen ready for redrawing.
| void set_screen_dirty_image | ( | struct terminal_screen * | screen, |
| int | from, | ||
| int | to ) |
|
extern |