diff options
author | Yorhel <git@yorhel.nl> | 2022-03-16 09:52:33 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-03-16 09:53:02 +0100 |
commit | 3942722eba5a53fce68054b65cef4e36f1b6d339 (patch) | |
tree | dc4776b330fe6ff15f26afbf55f8fe8ca37fae69 | |
parent | 1a3de55e684e83ceacc16afa1b48582d32c6f7fe (diff) |
Revert default --graph-style to "hash"
Because, even in 2022, there are systems where the libc locale is not,
in fact, UTF-8. Fixes #186.
-rw-r--r-- | ncdu.pod | 4 | ||||
-rw-r--r-- | src/main.zig | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -230,8 +230,8 @@ the browser with the 'g' key. =item B<--graph-style> I<OPTION> Change the way that the relative size bar column is drawn. Recognized values -are I<hash> to draw ASCII C<#> characters (most portable), I<half-block> to use -half-block drawing characters (the default) or I<eighth-block> to use +are I<hash> to draw ASCII C<#> characters (default and most portable), +I<half-block> to use half-block drawing characters or I<eighth-block> to use eighth-block drawing characters. Eighth-block characters are the most precise but may not render correctly in all terminals. diff --git a/src/main.zig b/src/main.zig index 3425f67..2c516e7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -61,7 +61,7 @@ pub const config = struct { pub var show_mtime: bool = false; pub var show_graph: bool = true; pub var show_percent: bool = false; - pub var graph_style: enum { hash, half, eighth } = .half; + pub var graph_style: enum { hash, half, eighth } = .hash; pub var sort_col: SortCol = .blocks; pub var sort_order: SortOrder = .desc; pub var sort_dirsfirst: bool = false; |