1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-12 00:02:28 +01:00

Refactor InputDescription API into Input API

This commit is contained in:
Ethan P
2020-05-16 15:06:43 -07:00
committed by David Peter
parent 11a72ab765
commit 798b742617
5 changed files with 137 additions and 54 deletions

View File

@@ -292,7 +292,7 @@ impl<'a> Printer for InteractivePrinter<'a> {
.kind()
.map(|kind| format!("{}: ", kind))
.unwrap_or("".into()),
self.colors.filename.paint(description.name()),
self.colors.filename.paint(description.title()),
mode
)?;