mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 21:25:56 +00:00
WIP edit desired width.
This commit is contained in:
parent
4c60ab12cc
commit
ee3a37f3fc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user