mirror of
https://github.com/cheat/cheat.git
synced 2026-03-07 19:23:34 +01:00
feat(display): make Faint respect Colorize
Make `display.Faint` respect the `Colorize` config value.
This commit is contained in:
@@ -41,7 +41,7 @@ func cmdView(opts map[string]interface{}, conf config.Config) {
|
||||
// identify the matching cheatsheet
|
||||
fmt.Println(fmt.Sprintf("%s %s",
|
||||
display.Underline(sheet.Title),
|
||||
display.Faint(fmt.Sprintf("(%s)", sheet.CheatPath)),
|
||||
display.Faint(fmt.Sprintf("(%s)", sheet.CheatPath), conf),
|
||||
))
|
||||
|
||||
// apply colorization if requested
|
||||
|
||||
Reference in New Issue
Block a user