]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: make sure we have space for ascii art
authorKarel Zak <kzak@redhat.com>
Mon, 30 Nov 2015 11:53:42 +0000 (12:53 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Nov 2015 11:53:42 +0000 (12:53 +0100)
commitc600d82a3a0dbab074eb6ebdd25dfa6e72621289
tree3d23881e617e96b73d43eb95d297277148066313
parent440f73b7bc5e2b1021a62dfd338b883f73ff913e
libsmartcols: make sure we have space for ascii art

* more verbose output about columns width counting
* strlen_line() does not care about space between columns and extra
  tree ASCII art. Let's assume that all termwith is possible to use
  for this extra stuff, it means that maximal buffer size is
  biggest_line + termwidth.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table_print.c