mirror of
https://github.com/NixOS/nix
synced 2025-07-04 07:11:47 +02:00
treewide: shouldANSI() -> isTTY()
This commit is contained in:
parent
d9fc4bf5c5
commit
8c1eeb4681
8 changed files with 8 additions and 8 deletions
|
@ -8,7 +8,7 @@ namespace nix {
|
|||
* Determine whether ANSI escape sequences are appropriate for the
|
||||
* present output.
|
||||
*/
|
||||
bool shouldANSI();
|
||||
bool isTTY();
|
||||
|
||||
/**
|
||||
* Truncate a string to 'width' printable characters. If 'filterAll'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue