Terminal interface for communicating with serial ANSI/VT100 terminals
Diff: Terminal.h
- Revision:
- 3:169909f7566f
- Parent:
- 2:85184c13476c
--- a/Terminal.h Tue Nov 23 16:03:35 2010 +0000 +++ b/Terminal.h Fri Dec 13 10:10:21 2019 +0000 @@ -64,7 +64,19 @@ /** Clear the screen and locate to 0,0 */ void cls(); - + + /** Moves cursor up by @var step_num */ + void move_cursor_up(int step_num); + + /** Moves cursor down by @var step_num */ + void move_cursor_down(int step_num); + + /** Moves cursor righ by @var step_num */ + void move_cursor_right(int step_num); + + /** Move cursor left by @var step_num */ + void move_cursor_left(int step_num); + /** Set the foreground colour */ void foreground(int colour);