dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.57k stars 1.74k forks source link

Line wrap packages #2402

Open Digit opened 8 months ago

Digit commented 8 months ago

Description

The "Packages" line on systems with multiple package managers can get long enough to get cut off out of view on old standard width terminals.

Line wrap for packages would solve this.

(Of course, a line-wrap that does not interrupt the ASCII graphics, is the ideal form envisioned in this issue/feature-request.)

Current workarounds include:

Linewrap packages would be far better than the workarounds' trade-offs.

Neofetch version

Still true as of 7.1.0

Digit commented 8 months ago

further implementation idea possibilities...

perhaps even configurable width before it wraps. perhaps detection of terminal width. (e.g. with tput cols) perhaps a default 80 characters width. perhaps presets ... neofetch --wrap-width $n|old(80)|wide(120)|infinite(off)|auto(tput cols) perhaps just neofetch --package-wrap perhaps even default behaviour to wrap, detecting terminal width when run? and a --no-wrap to toggle off back to current behaviour?

perhaps . . . wrap all the lines.