pw-dump: don't do raw mode when streaming

pw-dump | less -RS is a common thing and raw mode is not helpful.
This commit is contained in:
Wim Taymans 2025-05-13 14:59:51 +02:00
parent 08efc1171c
commit 6b3681938b

View file

@ -1541,8 +1541,6 @@ int main(int argc, char *argv[])
pw_init(&argc, &argv);
data.out = stdout;
if (!isatty(fileno(data.out)))
raw = true;
if (getenv("NO_COLOR") == NULL && isatty(fileno(data.out)))
colors = true;
setlinebuf(data.out);