From 112a07be952b3f2936e677a44d03093a8d0183d9 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 18:18:44 +0300 Subject: Autocommit at 05.05.2022 @ 18:18 --- src/ConsoleInterface/Toolbox.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ConsoleInterface/Toolbox.cpp') 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); } -- cgit v1.3.1-23-gd82d