summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-10-15 15:14:51 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-10-15 15:14:51 -0400
commite0d7f262ac623952582f17008f021021f901aceb (patch)
tree871fc3f8e1f8f32b72700cf0d98dd53c82be7e61 /src
parent6e4ab1e7231bb3d752d6ffa7b76cac7c7ae8f561 (diff)
parent2e2a37baf67b5bfa89d34f409ce658039508caad (diff)
Merge pull request #867 from byaruhaf/patch-1
Fix for issue #859 - unicode rendering of deps tree based on PR #865
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_deps_tree.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_prv_deps_tree.erl b/src/rebar_prv_deps_tree.erl
index 04c4837..cefa60a 100644
--- a/src/rebar_prv_deps_tree.erl
+++ b/src/rebar_prv_deps_tree.erl
@@ -66,13 +66,13 @@ print_children(_, [], _, _) ->
print_children(Prefix, [{Name, Vsn, Source} | Rest], Dict, Verbose) ->
Prefix1 = case Rest of
[] ->
- io:format("~ts└─ ", [Prefix]),
+ io:format("~ts~ts", [Prefix, <<226,148,148,226,148,128,32>>]), %Binary for └─ utf8%
[Prefix, " "];
_ ->
- io:format("~ts├─ ", [Prefix]),
+ io:format("~ts~ts", [Prefix, <<226,148,156,226,148,128,32>>]), %Binary for ├─ utf8%
[Prefix, "│ "]
end,
- io:format("~ts─~ts (~ts)~n", [Name, Vsn, type(Source, Verbose)]),
+ io:format("~ts~ts~ts (~ts)~n", [Name, <<226,148,128>>, Vsn, type(Source, Verbose)]), %Binary for ─ utf8%
case dict:find(Name, Dict) of
{ok, Children} ->
print_children(Prefix1, lists:keysort(1, Children), Dict, Verbose),