mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Use full width of terminal (extra 2 characters)
Make output 2 characters wider to use the full width of terminal
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ pub fn draw_it(
|
||||
if !permissions {
|
||||
eprintln!("Did not have permissions for all directories");
|
||||
}
|
||||
let terminal_width = (get_width_of_terminal() - 16) as usize;
|
||||
let terminal_width = (get_width_of_terminal() - 14) as usize;
|
||||
let num_indent_chars = 3;
|
||||
let longest_string_length = root_node
|
||||
.children
|
||||
|
||||
Reference in New Issue
Block a user