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:
parent
e5a2cec5ea
commit
33906947a8
@ -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);
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace cryfs {
|
||||
//TODO Test
|
||||
class CryConfigConsole final {
|
||||
public:
|
||||
CryConfigConsole(std::shared_ptr<cpputils::Console> console);
|
||||
|
Loading…
Reference in New Issue
Block a user