Open
Description
To show a concise over-exaggerated example:
$ COLUMNS=10 opam list --columns description | head
# Packages matching: installed
# Descript
A package
A library
afl-fuzz n
Alcotest e
Angstrom i
ARP is an
asn1-combi
Astring ex
In this example there is no way to tell if the a line finished or if it was truncated due to the column size limit.
It could be useful to have a colored character showing truncation. It could also be useful to prevent hidden columns by setting a predefined percentage of COLUMNS
that each columns should have. For example if you have opam list --columns description,name,version
it would be nice to make say description
take say 50% of COLUMNS, name
30% and version
20% so that description
doesn't take the whole screen and each column is truncated somewhat equally.
Activity