fixed new line for user input from terminal.

This commit is contained in:
Liana Husikyan 2015-03-09 13:15:59 +01:00
parent 665edd3f86
commit c6653d5ffc

View File

@ -272,7 +272,7 @@ bool CommandLineInterface::processInput()
while (!cin.eof()) while (!cin.eof())
{ {
getline(cin, s); getline(cin, s);
m_sourceCodes["<stdin>"].append(s); m_sourceCodes["<stdin>"].append(s + '\n');
} }
} }
else else