From e91f32f2b58eda31fa8d8206ce9d0a8aef52ad13 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 31 Jan 2020 14:06:26 +0100 Subject: Use light box drawing symbols --- src/libutil/util.hh | 6 +++--- src/nix/why-depends.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3