diff options
author | Paweł Sacawa <pawelsacawa@gmail.com> | 2021-05-02 18:12:13 -0400 |
---|---|---|
committer | Paweł Sacawa <pawelsacawa@gmail.com> | 2021-05-02 18:18:35 -0400 |
commit | 8de796c59c70bc673dd05928514376e64a5609d4 (patch) | |
tree | 82755c6e467042537912e17ff31c14fc796d87a6 /AUTHORS | |
parent | 954b8c3902b251aeb7a576e275393a2c61644286 (diff) |
Fix: ANSI escape codes in first line make the cli choose expanded output incorrectly...
The format_output chooses to output as a table or in the expanded
format on the basis of the length of the first line of the table
formatter (`len`). However, this first line contains a lot of ANSI
excape codes, so this comparison is wrong, and the expanded mode
is used either way. This patch strips these escape codes before the
comparison.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions