aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons/teken/teken.h
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-02-09 15:55:21 +0000
committerEd Schouten <ed@FreeBSD.org>2009-02-09 15:55:21 +0000
commit3b31c196914ca077765044ef363512525adf5ed0 (patch)
treed08212594841b3d669346a5c68d86e38107efd48 /sys/dev/syscons/teken/teken.h
parent37e399b26eb8aa33c0658798efe2caa47d787fc9 (diff)
downloadsrc-3b31c196914ca077765044ef363512525adf5ed0.tar.gz
src-3b31c196914ca077765044ef363512525adf5ed0.zip
Properly implement GIO_ATTR and CONS_GETINFO.
It seems I didn't implement these two ioctl()'s properly, which meant vidcontrol couldn't properly obtain certain terminal parameters.
Notes
Notes: svn path=/head/; revision=188391
Diffstat (limited to 'sys/dev/syscons/teken/teken.h')
-rw-r--r--sys/dev/syscons/teken/teken.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/syscons/teken/teken.h b/sys/dev/syscons/teken/teken.h
index ed965d9b495f..dcd43d72b7f5 100644
--- a/sys/dev/syscons/teken/teken.h
+++ b/sys/dev/syscons/teken/teken.h
@@ -170,7 +170,9 @@ void teken_init(teken_t *, const teken_funcs_t *, void *);
/* Deliver character input. */
void teken_input(teken_t *, const void *, size_t);
-/* Set teken attributes. */
+/* Get/set teken attributes. */
+const teken_attr_t *teken_get_curattr(teken_t *);
+const teken_attr_t *teken_get_defattr(teken_t *);
void teken_set_cursor(teken_t *, const teken_pos_t *);
void teken_set_defattr(teken_t *, const teken_attr_t *);
void teken_set_winsize(teken_t *, const teken_pos_t *);