aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-05 07:45:02 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-05 07:45:02 +1000
commitd1078f8582bff8365d233664458c509305350f5c (patch)
tree2c6779215cece3b16c24453127a206e7b4cc3fde /screen.h
parent0ea668b260bcb640de7bdcb3feff4f7d9187e32c (diff)
Detect and handle terminals size changes
darcs-hash:20061004214502-ac50b-aaf5b76a6281c0ba8757e794b0a802793ce92916.gz
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/screen.h b/screen.h
index 10cce22f..d732fd40 100644
--- a/screen.h
+++ b/screen.h
@@ -34,6 +34,12 @@ typedef struct
the screen.
*/
string_buffer_t actual_prompt;
+
+ /*
+ The actual width of the screen at the time of the last screen
+ write.
+ */
+ int actual_width;
}
screen_t;