On Mon, 14 Jun 2021 at 22:44, Allan McRae <allan@archlinux.org> wrote:
On 15/6/21 1:24 am, Christian Hesse wrote:
From: Christian Hesse <mail@eworm.de>
This is not handled correctly in some situations. For me (with pacman inside tmux inside xfce4-terminal with TERM=xterm) I do not see version strings but huge gaps between package names. Looks like grey46 is round to just back, which is my background color.
Instead use bright black, which is one of the 16 colors and *should* be visible with any configuration. Works for me[tm] and all configurations I tested.
Is there a reason to use TERM=xterm and not something that supports 256 colours?
I remember discussing 16 colour terminals at the time this was implemented and deciding they could us NoColor...
Would it make sense for pacman to fallback to NoColor with an error message, when 256 colors are not supported? Sort of how it already skips VerbosePkgLists when there aren't enough columns. -Emil