summaryrefslogtreecommitdiff
path: root/tty.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2014-08-30 19:11:18 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2014-08-30 19:48:29 -0700
commitc8e087f41f467b0f5f32eaef19cd11b7f0f95edb (patch)
tree59e544f09506bbb51f8a1215816af5b53fa2dd0b /tty.h
parent6d7468b65ea468326aaba367d42b965b2861e9a6 (diff)
Use last line of terminal
Diffstat (limited to 'tty.h')
-rw-r--r--tty.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tty.h b/tty.h
index 3ee64f6..89c0386 100644
--- a/tty.h
+++ b/tty.h
@@ -34,6 +34,11 @@ void tty_setnormal(tty_t *tty);
*/
void tty_newline(tty_t *tty);
+/* tty_clearline
+ * Clear to the end of the current line without advancing the cursor.
+ */
+void tty_clearline(tty_t *tty);
+
void tty_moveup(tty_t *tty, int i);
void tty_setcol(tty_t *tty, int col);