Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
2 files changed, 5 insertions, 1 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.cpp3
-rw-r--r--src/VenueConsoleUI.cpp3
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp
index d04d001..55ac708 100644
--- a/src/ConsoleInterface/Toolbox.cpp
+++ b/src/ConsoleInterface/Toolbox.cpp
@@ -3,7 +3,7 @@
void clear() {
// Clears console on Linux
// Source: https://stackoverflow.com/a/52895729/12036073
- // std::cout << u8"\033[2J\033[1;1H";
+ std::cout << u8"\033[2J\033[1;1H";
}
int orderedListIndex = 1;
@@ -67,6 +67,7 @@ void table(unsigned startNumber, unsigned columns, const char* items) {
std::cout << ((colInd == 0) ? "║ " : "| ") << items[rowInd * columns + colInd] << " ";
}
+ std::cout << ":" << std::endl;
}
void _printOrderedListBeginning() {
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp
index 94615c3..e136b4c 100644
--- a/src/VenueConsoleUI.cpp
+++ b/src/VenueConsoleUI.cpp
@@ -64,6 +64,9 @@ void command_freeSeats() {
tableData[tableSize] = '\0';
table(1, hall->get_seatsPerRow(), tableData);
+
+ char tmp;
+ inputLineBox("[Press enter to continue]", &tmp, 1);
}
void command_reserveTicket() {