Skip to content
Snippets Groups Projects
Unverified Commit 0fcaa756 authored by Jan Trávníček's avatar Jan Trávníček Committed by Tomáš Pecka
Browse files

cli: fix prompt character after \

parent 06cf4aaf
No related branches found
No related tags found
1 merge request!210Merge jt
Pipeline #174051 passed with warnings
......@@ -11,8 +11,9 @@ void CharSequence::fetch ( bool readNextLine ) {
if ( ! readNextLine )
return;
 
bool first = true;
std::string line;
for ( std::string tmpLine; m_lineInterface->readline ( tmpLine, linePtr == nullptr ); ) {
for ( std::string tmpLine; m_lineInterface->readline ( tmpLine, first ); first = false ) {
if ( std::all_of ( tmpLine.begin ( ), tmpLine.end ( ), ext::isspace ) ) {
line += tmpLine;
line += '\n';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment