[SCM] Debian Live build scripts branch, master, updated. 1.0.0-2-40-g094a25a
Daniel Baumann
daniel at debian.org
Thu Sep 11 14:25:36 UTC 2008
The following commit has been merged in the master branch:
commit 094a25a70d0caca6f3616fc8caa0b7d90bf35c38
Author: Daniel Baumann <daniel at debian.org>
Date: Thu Sep 11 13:55:37 2008 +0200
Updating cursor.sh with additional functions.
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 "[s\c"
+ printf "[s"
+}
+
+Cursor_restore_position ()
+{
+ #echo -e "[u\c"
+ printf "[u"
+}
+
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 "[2J\c"
+ printf "[2J"
+}
+
+Cursor_erase_EOL ()
+{
+ #echo -e "[K\c"
+ printf "[K"
+}
--
Debian Live build scripts
More information about the debian-live-changes
mailing list