summaryrefslogtreecommitdiff
path: root/console/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'console/display.h')
-rw-r--r--console/display.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/console/display.h b/console/display.h
index 4f9b7586..26430cd3 100644
--- a/console/display.h
+++ b/console/display.h
@@ -36,6 +36,9 @@ error_t display_create (display_t *r_display, const char *encoding,
/* Destroy the display DISPLAY. */
void display_destroy (display_t display);
+/* Return the dimension of the display in bytes. */
+off_t display_get_size (display_t display);
+
/* Return the dimensions of the display DISPLAY in *WINSIZE. */
void display_getsize (display_t display, struct winsize *winsize);