1
1
mirror of https://github.com/wader/fq.git synced 2024-12-26 15:02:28 +03:00
fq/pkg/interp/testdata/color.fqtest
Mattias Wadman dabad85080 interp: Proper display column truncate
Also speed up by using less string allocs
2022-04-16 18:48:21 +02:00

248 B

$ _STDOUT_IS_TERMINAL=0 NO_COLOR= fq -n 123
123
$ _STDOUT_IS_TERMINAL=1 NO_COLOR= fq -n 123
123
$ fq -Cn 123
123
$ fq --color-output -n 123
123
$ fq -Mn 123
123
$ fq --monochrome-output -n 123
123
$ NO_COLOR=1 fq -n 123
123