Website Summary Files Commits Branches @commit @diff @stats
path: root / src / UserInterface / VenueConsoleUI.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/UserInterface/VenueConsoleUI.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, 2 insertions, 3 deletions
-rw-r--r--src/UserInterface/VenueConsoleUI.cpp5
diff --git a/src/UserInterface/VenueConsoleUI.cpp b/src/UserInterface/VenueConsoleUI.cpp
index 8c3fdcf..63816c6 100644
--- a/src/UserInterface/VenueConsoleUI.cpp
+++ b/src/UserInterface/VenueConsoleUI.cpp
@@ -53,9 +53,7 @@ void command_freeSeats() {
}
table(1, seatsPerRow, seating.get_cstr());
-
- char tmp;
- inputLineBox("[Press enter to continue]", &tmp, 1);
+ pressEnterToContinue();
}
void command_reserveTicket() {
@@ -106,6 +104,7 @@ void command_buyTicket() {
if (note.get_length() > 0) {
successSubBox("The reservation had a note attached. It reads:");
successSubBox(note.get_cstr());
+ pressEnterToContinue();
}
}
else if (s == W_TicketHadNotBeenReserved) {