From 254138f98d72f627bc0aa4eab80b1cfd5a40d6b6 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Thu, 11 Sep 2008 13:55:37 +0200
Subject: Updating cursor.sh with additional functions.

---
 functions/cursor.sh | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/functions/cursor.sh b/functions/cursor.sh
index d2ea8eb..44c2a67 100755
--- a/functions/cursor.sh
+++ b/functions/cursor.sh
@@ -9,7 +9,7 @@
 
 set -e
 
-Cursor_position ()
+Cursor_goto_position ()
 {
 	__LINE="${1}"
 	__COLUMN="${2}"
@@ -18,6 +18,18 @@ Cursor_position ()
 	printf "[${__LINE};${__COLUMN};H"
 }
 
+Cursor_save_position ()
+{
+	#echo -e "\c"
+	printf ""
+}
+
+Cursor_restore_position ()
+{
+	#echo -e "\c"
+	printf ""
+}
+
 Cursor_line_up ()
 {
 	__LINES="${1}"
@@ -49,3 +61,15 @@ Cursor_columns_backward ()
 	#echo -e "[${__COLUMNS}D\c"
 	printf "[${__COLUMNS}D"
 }
+
+Cursor_clear_screen ()
+{
+	#echo -e "\c"
+	printf ""
+}
+
+Cursor_erase_EOL ()
+{
+	#echo -e "\c"
+	printf ""
+}
-- 
cgit v1.0