Skip to content

Commit

Permalink
Add linebreaks to rndssucli messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Wachter committed Mar 22, 2013
1 parent 999ecce commit d218838
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rndssucli/rndssucli.cpp
Expand Up @@ -36,10 +36,10 @@ void RndSsuCli::optFlavour(QString newFlavour){

if (newFlavour != ""){
qout << "Changing flavour from " << ssu.flavour()
<< " to " << newFlavour;
<< " to " << newFlavour << endl;
ssu.setFlavour(newFlavour);
} else
qout << "Device flavour is currently: " << ssu.flavour();
qout << "Device flavour is currently: " << ssu.flavour() << endl;

QCoreApplication::exit(0);
}
Expand All @@ -62,7 +62,7 @@ void RndSsuCli::optRegister(){
termOld = termNew;
termNew.c_lflag &= ~ECHO;
if (tcsetattr(STDIN_FILENO, TCSAFLUSH, &termNew) == -1)
qout << "WARNING: Unable to disable echo on your terminal, password will echo!";
qout << "WARNING: Unable to disable echo on your terminal, password will echo!" << endl;

qout << "Password: " << flush;
password = qin.readLine();
Expand Down

0 comments on commit d218838

Please sign in to comment.