Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / ConsoleInterface / Toolbox.cpp
diff options
context:
space:
mode:
Commite31944838284c7e4199e2941fcfe0fccfd5b4abf (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 14:53:20 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 14:53:20 +0300
Files4baf745863317af5595c2554be8c1c4d1f55317d /src/Generic/ConsoleInterface/Toolbox.cpp
FMI-OOP-P1_TicketSystem-e31944838284c7e4199e2941fcfe0fccfd5b4abf.tar
FMI-OOP-P1_TicketSystem-e31944838284c7e4199e2941fcfe0fccfd5b4abf.tar.gz
FMI-OOP-P1_TicketSystem-e31944838284c7e4199e2941fcfe0fccfd5b4abf.zip
Parent1e2336b3de755225f71dfb20428a86b54d5e5809 (diff)
Autocommit at 07.05.2022 @ 14:53
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;