summaryrefslogtreecommitdiff
path: root/libcons/cons.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcons/cons.h')
-rw-r--r--libcons/cons.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libcons/cons.h b/libcons/cons.h
index 8105a723..a162f010 100644
--- a/libcons/cons.h
+++ b/libcons/cons.h
@@ -1,5 +1,5 @@
/* cons.h - Definitions for cons helper and callback functions.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
Written by Marcus Brinkmann.
This file is part of the GNU Hurd.
@@ -231,6 +231,14 @@ error_t cons_switch (vcons_t vcons, int id, int delta, vcons_t *r_vcons);
VCONS. */
error_t cons_vcons_input (vcons_t vcons, char *buf, size_t size);
+/* The user must define this function. Clear the existing screen
+ matrix and set the size of the screen matrix to the dimension COL x
+ ROW. This call will be immediately followed by a call to
+ cons_vcons_write that covers the whole new screen matrix. */
+error_t cons_vcons_set_dimension (vcons_t vcons,
+ uint32_t col, uint32_t row);
+);
+
typedef enum
{
CONS_SCROLL_DELTA_LINES, CONS_SCROLL_DELTA_SCREENS,