aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/lib-ansi.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/lib-ansi.c')
-rw-r--r--com32/hdt/lib-ansi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/com32/hdt/lib-ansi.c b/com32/hdt/lib-ansi.c
index 12e5ecc7..411dba80 100644
--- a/com32/hdt/lib-ansi.c
+++ b/com32/hdt/lib-ansi.c
@@ -61,6 +61,13 @@ void move_cursor_right(int count) {
fputs(buffer, stdout);
}
+void set_cursor_blink(bool status) {
+ if (status == true)
+ fputs("\033[05m",stdout);
+ else
+ fputs("\033[0m",stdout);
+}
+
void clear_line() {
fputs("\033[2K", stdout);
}