summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/libs/lib-ui.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh
index c67dbbf..72052c0 100644
--- a/src/core/libs/lib-ui.sh
+++ b/src/core/libs/lib-ui.sh
@@ -123,6 +123,12 @@ _getavaildisks()
}
+ask_checklist () #TODO
+{
+ true
+}
+
+
# TODO: we should have a wrapper around this function that keeps trying until the user entered a valid numeric?, maybe a wrapper that wraps all functions
# ask for a number.
@@ -223,6 +229,12 @@ _dia_DIALOG()
}
+_dia_ask_checklist () #TODO: implement this
+{
+ _dia_DIALOG --checklist "$1" $list
+}
+
+
_dia_ask_number ()
{
#TODO: i'm not entirely sure this works perfectly. what if user doesnt give anything or wants to abort?