diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2014-10-23 12:38:05 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2014-10-23 12:38:05 +0000 |
commit | 525706da8781a6b6adae75c89cb21fff56447cfe (patch) | |
tree | d1ce370969ffeb054fd911ef56d203bea943c112 /sys/sys/consio.h | |
parent | c0426e480a33dc0cee1e988653a3dd620f2a2f8d (diff) | |
download | FreeBSD-src-525706da8781a6b6adae75c89cb21fff56447cfe.zip FreeBSD-src-525706da8781a6b6adae75c89cb21fff56447cfe.tar.gz |
vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font
To restore the default font using vidcontrol(1), use the "-f" flag
without an argument:
vidcontrol -f < /dev/ttyv0
PR: 193910
Differential Revision: https://reviews.freebsd.org/D971
Submitted by: Marcin Cieslak <saper@saper.info>
Reviewed by: ray@, emaste@
Approved by: ray@
MFC after: 1 week
Diffstat (limited to 'sys/sys/consio.h')
-rw-r--r-- | sys/sys/consio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/consio.h b/sys/sys/consio.h index e9d0e64..a2b035c 100644 --- a/sys/sys/consio.h +++ b/sys/sys/consio.h @@ -239,6 +239,7 @@ typedef struct vfnt vfnt_t; #define GIO_FONT8x16 _IOR('c', 69, fnt16_t) #define PIO_VFONT _IOW('c', 70, vfnt_t) #define GIO_VFONT _IOR('c', 71, vfnt_t) +#define PIO_VFONT_DEFAULT _IO('c', 72) /* get video mode information */ struct colors { |