diff options
Autocommit at 05.05.2022 @ 18:18
1 files changed, 1 insertions, 0 deletions
| -rw-r--r-- | src/ConsoleInterface/Toolbox.cpp | 1 |
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index d31aa91..fbc7806 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -16,6 +16,7 @@ void _printInputBoxLabel(const char* label) { void inputLineBox(const char* label, char* output, unsigned maxWidth) { _printInputBoxLabel(label); + std::cin.ignore(); std::cin.getline(output, maxWidth); } |
