aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-09 23:26:42 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-09 23:26:42 +1000
commit9a0f712e29f8412303da0b3249315d32ffacf304 (patch)
tree2f3405394eab9481160233cc8501fd3597505010 /screen.h
parent286e110fb1fedb57fc3357562079067eb73c5a69 (diff)
Make the screen repainting code slightly more robust by keeping track of whether clr_eol may be needed to clear 'debris' from e.g. resizes
darcs-hash:20061009132642-ac50b-6162ed86a97771a8da4be2adff3ad6a4f1851616.gz
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/screen.h b/screen.h
index 33f578cd..a50eacb0 100644
--- a/screen.h
+++ b/screen.h
@@ -42,6 +42,14 @@ typedef struct
int actual_width;
/**
+ 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.
+ */
+ int need_clear;
+
+ /**
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.
*/