print column size fix

This commit is contained in:
2021-08-09 09:32:29 +02:00
parent 19585dda8c
commit 474b789d12
5 changed files with 144 additions and 17 deletions

View File

@@ -154,7 +154,7 @@ void Row::setColumnValue(ColDefNode *col_def, ValueNode *col_value) {
for (int ci = 0; ci < m_columns.size(); ci++) {
auto value = m_columns[ci]->getStringValue();
// TODO use string functions
// TODO use string functions handle len
out.append(value + std::string(col_char_sizes[ci] - value.size(), ' ') + " | ");
}