#include <screen.h>
Data Fields | |
| array_list_t | desired |
| The internal representation of the desired screen contents. | |
| array_list_t | actual |
| The internal representation of the actual screen contents. | |
| int | desired_cursor [2] |
| The desired cursor position. | |
| int | actual_cursor [2] |
| The actual cursor position. | |
| string_buffer_t | actual_prompt |
| A stringbuffer containing the prompt which was last printed to the screen. | |
| int | actual_width |
| The actual width of the screen at the time of the last screen write. | |
| int | need_clear |
| This flag is set to true when there is reason to suspect that the parts of the screen lines where the actual content is not filled in may be non-empty. | |
|
struct stat prev_buff_1 prev_buff_2 post_buff_1 | post_buff_2 |
| These status buffers are used to check if any output has occurred other than from fish's main loop, in which case we need to redraw. | |
This flag is set to true when there is reason to suspect that the parts of the screen lines where the actual content is not filled in may be non-empty.
This means that a clr_eol command has to be sent to the terminal at the end of each line.
Referenced by s_reset(), and s_update().
1.5.6