We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4a028 commit ef5725bCopy full SHA for ef5725b
1 file changed
SUSTerm/mainwindow.cpp
@@ -393,7 +393,12 @@ void MainWindow::SerialReceive(void)
393
if(i < lines.size()-1)
394
{
395
to_print_ascii = to_print_ascii.append(qba_eol);
396
- to_print_hex = to_print_hex.append(" 0A" + qba_eol);
+
397
+ // If this line has any data after "[<TIME>] " add a white space before "0A\n"
398
+ if(to_print_hex.size() > qba_time.size())
399
+ to_print_hex = to_print_hex.append(" 0A" + qba_eol);
400
+ else
401
+ to_print_hex = to_print_hex.append("0A" + qba_eol);
402
}
403
else
404
0 commit comments