summaryrefslogtreecommitdiff
path: root/libcons/priv.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-09-13 23:40:10 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-09-13 23:40:10 +0000
commitcc60ad8bb9596cafe94f48de9ea030ce01e22404 (patch)
treeba7b74a5ab8d70d7505c514c6d63929a9bcaded3 /libcons/priv.h
parentfad9d77677aca4ce2fd11705f87adca9b0524ecf (diff)
2002-09-14 Marcus Brinkmann <marcus@gnu.org>
* Makefile (SRCS): Add vcons-input.c. * vcons-input.c: New file. * vcons-scrollback.c (_cons_vcons_scrollback): New function. (cons_vcons_scrollback): Reimplement in terms of _cons_vcons_scrollback. * cons.h (cons_scroll_t): New type. (cons_vcons_scrollback): Update prototype. * priv.h (_cons_jump_down_at_input): New extern. (_cons_jump_down_at_output): Likewise. (_cons_vcons_scrollback): New prototype. * opts-std-startup.c (OPT_JUMP_DOWN_AT_INPUT): New macro. (OPT_JUMP_DOWN_AT_OUTPUT): Likewise. (_cons_jump_down_at_input): New variable. (_cons_jump_down_at_output): Likewise. (startup_options): Add new options --jump-down-at-input and --jump-down-at-output. (parse_startup_opt): Handle these new options. * file-changed.c (cons_S_file_changed): Support the jump down at output option.
Diffstat (limited to 'libcons/priv.h')
-rw-r--r--libcons/priv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcons/priv.h b/libcons/priv.h
index c99a1600..9f3fd7b6 100644
--- a/libcons/priv.h
+++ b/libcons/priv.h
@@ -25,10 +25,21 @@
server. */
extern int _cons_slack;
+/* If we jump down at input. */
+extern int _cons_jump_down_at_input;
+
+/* If we jump down at output. */
+extern int _cons_jump_down_at_output;
+
/* The filename of the console server. */
extern char *_cons_file;
+/* Non-locking version of cons_vcons_scrollback. Does also not update
+ the display. */
+int _cons_vcons_scrollback (vcons_t vcons, cons_scroll_t type, float value);
+
+
/* Called by MiG to translate ports into cons_notify_t. mutations.h
arranges for this to happen for the fs_notify interfaces. */
static inline cons_notify_t