aboutsummaryrefslogtreecommitdiffstats
path: root/SOURCE/CORE/helpers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCE/CORE/helpers.sh')
-rw-r--r--SOURCE/CORE/helpers.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/SOURCE/CORE/helpers.sh b/SOURCE/CORE/helpers.sh
index 3f013f2..f0d15d2 100644
--- a/SOURCE/CORE/helpers.sh
+++ b/SOURCE/CORE/helpers.sh
@@ -84,3 +84,10 @@ random_title() {
echo $OUTPUT
}
+# Keep the application alive until the user decides to exit.
+exitwait() {
+ echo "Press any key to exit.."
+ read -r -n 1
+ exit 0
+}
+