Adapt to new Console from cpputils (we have to print the newline ourselves now, cpputils doesn't do it anymore)

This commit is contained in:
Sebastian Messmer 2016-01-25 14:21:19 +01:00
parent e5a2cec5ea
commit 33906947a8
2 changed files with 1 additions and 1 deletions

View File

@ -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);

View File

@ -7,7 +7,6 @@
#include <boost/optional.hpp>
namespace cryfs {
//TODO Test
class CryConfigConsole final {
public:
CryConfigConsole(std::shared_ptr<cpputils::Console> console);