Closed Disonantemus closed 2 weeks ago
Option for changing output columns has been added, for your example you can now run torge -a name,date,size your search
.
About truncating columns, this would require the knowledge of terminal width and resizing the terminal would not redraw it. If the terminal is small little of information would be shown so it would be better to have results with line wrapping anyway.
The best option would be to have some external table drawing system. fzf
has some support for tables, but its very limited and it's maintainers don't want to extend it.
Results has very long lines that usually are wrapped to next line by terminal width, is it possible to hide some not so useful columns (like: Leechers, Author)?
Also fold or truncatete torrent names to get nice columns using terminal width and not separated by tabs (not aligned), maybe something like:
| column -ts"$(printf '\t')"
.Like this (mockup):