mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Respect TERM=dumb more consistently
This commit is contained in:
parent
139f7af5ec
commit
20cce079f2
4 changed files with 9 additions and 2 deletions
|
@ -482,6 +482,9 @@ constexpr char treeLast[] = "└───";
|
|||
constexpr char treeLine[] = "│ ";
|
||||
constexpr char treeNull[] = " ";
|
||||
|
||||
/* Determine whether ANSI escape sequences are appropriate for the
|
||||
present output. */
|
||||
bool shouldANSI();
|
||||
|
||||
/* Truncate a string to 'width' printable characters. If 'filterAll'
|
||||
is true, all ANSI escape sequences are filtered out. Otherwise,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue