From 33906947a8410d625bfe492ed7e0a7ff1d5bf049 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Mon, 25 Jan 2016 14:21:19 +0100 Subject: [PATCH] Adapt to new Console from cpputils (we have to print the newline ourselves now, cpputils doesn't do it anymore) --- src/config/CryConfigConsole.cpp | 1 + src/config/CryConfigConsole.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/CryConfigConsole.cpp b/src/config/CryConfigConsole.cpp index b213a5f0..200d8ccc 100644 --- a/src/config/CryConfigConsole.cpp +++ b/src/config/CryConfigConsole.cpp @@ -19,6 +19,7 @@ namespace cryfs { string cipherName = ""; bool askAgain = true; while(askAgain) { + _console->print("\n"); int cipherIndex = _console->ask("Which block cipher do you want to use?", ciphers); cipherName = ciphers[cipherIndex]; askAgain = !_showWarningForCipherAndReturnIfOk(cipherName); diff --git a/src/config/CryConfigConsole.h b/src/config/CryConfigConsole.h index e807c8de..39e7f4ef 100644 --- a/src/config/CryConfigConsole.h +++ b/src/config/CryConfigConsole.h @@ -7,7 +7,6 @@ #include namespace cryfs { - //TODO Test class CryConfigConsole final { public: CryConfigConsole(std::shared_ptr console);