reference Environment variables

TERM

Value
the terminal type, such as xterm-256color
See also
--no-progress-bar

The type of the terminal, set by terminal emulators. When it is unset, dumb or unknown, opengrep scan does not draw the status line that shows the progress of the scan.

The variable has no other effect; in particular, color does not depend on it. It has no OPENGREP_ form.

Examples

A scan on a terminal that cannot redraw a line

Command
$ TERM=dumb opengrep scan -q --config rule.yaml .