]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: follow terminal width
authorKarel Zak <kzak@redhat.com>
Tue, 30 Jan 2018 14:38:06 +0000 (15:38 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Jan 2018 15:10:06 +0000 (16:10 +0100)
commit8315a2ff1507571ef14d77beac867b34a7d5e6da
tree3c5ed8a88c1e9f3e4b0f463f3ae11ebaa7f82fa6
parent2afbcec5612fdb6fe95244c0d5ab412fb6776e00
cal: follow terminal width

* modify number of months in row according to the terminal width
* don't print blank space behind last char on row

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.c