diff options
Diffstat (limited to 'libcons/cons.h')
-rw-r--r-- | libcons/cons.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcons/cons.h b/libcons/cons.h index 6b2fca49..783aeb6a 100644 --- a/libcons/cons.h +++ b/libcons/cons.h @@ -76,6 +76,7 @@ struct vcons struct { + uint32_t flags; struct { uint32_t col; @@ -195,6 +196,10 @@ void cons_vcons_beep (vcons_t vcons); VCONS, which is locked, flash visibly. */ void cons_vcons_flash (vcons_t vcons); +/* The user must define this function. Notice the current status of + the scroll lock flag. */ +void cons_vcons_set_scroll_lock (vcons_t vcons, int onoff); + /* The user must define this function. It is called whenever a virtual console is selected to be the active one. It is the user's responsibility to close the console at some later time. */ |