diff options
author | dd <dd@FreeBSD.org> | 2001-05-27 00:45:59 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-05-27 00:45:59 +0000 |
commit | f5638c42a681d28ab2299c163004fe84b9d9641a (patch) | |
tree | cb9b5b6343fc7a4db16f5c956e5a546c9a37610b /sys/sys/consio.h | |
parent | 8538c8f1d7ea6149f232c4cb147a5821601e7831 (diff) | |
download | FreeBSD-src-f5638c42a681d28ab2299c163004fe84b9d9641a.zip FreeBSD-src-f5638c42a681d28ab2299c163004fe84b9d9641a.tar.gz |
Add a CONS_CLRHIST ioctl which instructs syscons to clear the history
(scroll-back) buffer.
PR: 27616
Reviewed by: ru
Diffstat (limited to 'sys/sys/consio.h')
-rw-r--r-- | sys/sys/consio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/consio.h b/sys/sys/consio.h index 5cb599a..1915c7e 100644 --- a/sys/sys/consio.h +++ b/sys/sys/consio.h @@ -116,6 +116,9 @@ typedef struct ssaver ssaver_t; /* set the history (scroll back) buffer size (in lines) */ #define CONS_HISTORY _IOW('c', 9, int) +/* clear the history (scroll back) buffer */ +#define CONS_CLRHIST _IO('c', 10) + /* mouse cursor ioctl */ struct mouse_data { int x; |