mirror of
https://github.com/cheat/cheat.git
synced 2026-03-07 19:23:34 +01:00
chore: rename display.Display
Rename `display.Display` to `display.Write` for clarity and to reduce "stutter".
This commit is contained in:
@@ -50,7 +50,7 @@ func cmdView(opts map[string]interface{}, conf config.Config) {
|
||||
}
|
||||
|
||||
// display the cheatsheet
|
||||
display.Display(display.Indent(sheet.Text), conf)
|
||||
display.Write(display.Indent(sheet.Text), conf)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,5 +76,5 @@ func cmdView(opts map[string]interface{}, conf config.Config) {
|
||||
}
|
||||
|
||||
// display the cheatsheet
|
||||
display.Display(sheet.Text, conf)
|
||||
display.Write(sheet.Text, conf)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user