summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Kuehl <cipkuehl@gmail.com>2018-05-08 07:25:39 -0700
committerDavid Peter <sharkdp@users.noreply.github.com>2018-05-08 22:57:29 +0200
commitee3a37f3fcdcea213cf7873125ce1b0fc95ee404 (patch)
tree58e0d8284313c1c70e4a4764ab371c9de8255ca1
parent4c60ab12ccf546f6f8269c3dcf11398f094b800b (diff)
WIP edit desired width.
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 472d04db..8fe12164 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -577,7 +577,7 @@ fn run() -> Result<()> {
print!("{:width$}{}", lang.name, separator, width = longest);
// Line-wrapping for the possible file extension overflow.
- let desired_width = 48;
+ let desired_width = 90 - longest;
// Number of characters on this line so far, wrap before `desired_width`
let mut num_chars = 0;