forked from lix-project/lix
Use light box drawing symbols
This commit is contained in:
parent
678301072f
commit
e91f32f2b5
|
@ -459,9 +459,9 @@ void ignoreException();
|
|||
|
||||
|
||||
/* Tree formatting. */
|
||||
constexpr char treeConn[] = "╠═══";
|
||||
constexpr char treeLast[] = "╚═══";
|
||||
constexpr char treeLine[] = "║ ";
|
||||
constexpr char treeConn[] = "├───";
|
||||
constexpr char treeLast[] = "└───";
|
||||
constexpr char treeLine[] = "│ ";
|
||||
constexpr char treeNull[] = " ";
|
||||
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ struct CmdWhyDepends : SourceExprCommand
|
|||
std::cout << fmt("%s%s%s%s" ANSI_NORMAL "\n",
|
||||
firstPad,
|
||||
node.visited ? "\e[38;5;244m" : "",
|
||||
firstPad != "" ? "=> " : "",
|
||||
firstPad != "" ? "→ " : "",
|
||||
pathS);
|
||||
|
||||
if (node.path == dependencyPath && !all
|
||||
|
|
|
@ -6,7 +6,7 @@ drvPath=$(nix-instantiate dependencies.nix)
|
|||
|
||||
echo "derivation is $drvPath"
|
||||
|
||||
nix-store -q --tree "$drvPath" | grep '║ ╚═══.*builder1.sh'
|
||||
nix-store -q --tree "$drvPath" | grep '│ └───.*builder1.sh'
|
||||
|
||||
# Test Graphviz graph generation.
|
||||
nix-store -q --graph "$drvPath" > $TEST_ROOT/graph
|
||||
|
@ -24,7 +24,7 @@ if test -n "$dot"; then
|
|||
$dot < $TEST_ROOT/graph
|
||||
fi
|
||||
|
||||
nix-store -q --tree "$outPath" | grep '═══.*dependencies-input-2'
|
||||
nix-store -q --tree "$outPath" | grep '───.*dependencies-input-2'
|
||||
|
||||
echo "output path is $outPath"
|
||||
|
||||
|
|
Loading…
Reference in a new issue