On Thu, 1 May 2025, Chao Liu wrote:
Hi, all:
Thanks to Markus, BALATON, and Philippe for their reviews
In PATCH v5:
Fix one comment, level 0 no longer prints line characters.
```
- /* Level 0 always has a col. */
+ /* Level 0 always has not a col. */
if (level == 0 || col_string == NULL) {
```
PATCH v4 changelog:
1. When printing the child nodes of a single node, the line characters from the
parent node's level are no longer printed, making the output more concise
and clear overall;
2. Use more commonly used ASCII characters, such as '|--' instead of '├──',
and '`--' instead of '└──';
Thanks but I meant only 1 horizontal dash instead of two to keep output
fit in narrower terminal. So instead of '--' just '-' and instead of '|--'
with one dash such as '|-'. Would that work?
Regards,
BALATON Zoltan