aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-01-31 14:06:26 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-01-31 14:09:27 +0100
commite91f32f2b58eda31fa8d8206ce9d0a8aef52ad13 (patch)
tree42ba81598e3a9432c4a0b783809c3032d916bef0 /src
parent678301072f05b650dc15c5edb4c25f08f0d6cace (diff)
Use light box drawing symbols
Diffstat (limited to 'src')
-rw-r--r--src/libutil/util.hh6
-rw-r--r--src/nix/why-depends.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 5d44b92c3..320590836 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -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[] = " ";
diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc
index fb12d5380..900466538 100644
--- a/src/nix/why-depends.cc
+++ b/src/nix/why-depends.cc
@@ -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