Package: toot
Version: 0.27.0-1
Severity: minor
Tags: upstream
X-Debbugs-Cc: [email protected]

CLI output is normally in color but when piping the output to another
tool, the color is lost. It’s useful to be able to pipe to “less -R”,
which is a pager that preserves ANSI control codes and thus
color. Apparently toot is detecting the pipeline as non-interactive
and automatically stripping out the color codes even when the
“--no-color” option is not supplied.

It may be deliberate & it’s probably a sensible default behavior. But
if that’s going to be the default then we need a way to force
color. The convention is typically a “--color=always” option.

-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 
'testing'), (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-19-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages toot depends on:
ii  python3           3.9.2-3
ii  python3-bs4       4.9.3-1
ii  python3-requests  2.25.1+dfsg-2
ii  python3-urwid     2.1.2-1
ii  python3-wcwidth   0.1.9+dfsg1-2

toot recommends no packages.

toot suggests no packages.

-- no debconf information

Reply via email to