Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / ConsoleInterface / Toolbox.cpp
diff options
context:
space:
mode:
1 files changed, 5 insertions, 0 deletions
-rw-r--r--src/Generic/ConsoleInterface/Toolbox.cpp5
diff --git a/src/Generic/ConsoleInterface/Toolbox.cpp b/src/Generic/ConsoleInterface/Toolbox.cpp
index 7fd64ab..ddfdd94 100644
--- a/src/Generic/ConsoleInterface/Toolbox.cpp
+++ b/src/Generic/ConsoleInterface/Toolbox.cpp
@@ -71,6 +71,11 @@ void inputLineSubBox(const char* label, char* output, unsigned maxWidth) {
__inputLineBoxGetInput(output, maxWidth);
}
+void pressEnterToContinue() {
+ char tmp;
+ inputLineBox("[Press enter to continue]", &tmp, 1);
+}
+
/* Ordered list */
int orderedListIndex = 1;