mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 10:11:07 +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…
x
Reference in New Issue
Block a user