From ee3a37f3fcdcea213cf7873125ce1b0fc95ee404 Mon Sep 17 00:00:00 2001 From: Connor Kuehl Date: Tue, 8 May 2018 07:25:39 -0700 Subject: [PATCH] WIP edit desired width. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;