mirror of
https://github.com/cheat/cheat.git
synced 2025-09-02 01:58:29 +02:00
fix: pagination error on Linux
Bury the `more` pager default on Linux in an effort to work around the following problem: https://github.com/cheat/cheat/issues/681#issuecomment-1201842334 We're satisficing for this kludge because it does not appear to be possible to actually make `more` perform as expected in all environments.
This commit is contained in:
@ -16,7 +16,7 @@ import (
|
||||
"github.com/cheat/cheat/internal/installer"
|
||||
)
|
||||
|
||||
const version = "4.2.5"
|
||||
const version = "4.2.6"
|
||||
|
||||
func main() {
|
||||
|
||||
|
@ -23,8 +23,7 @@ colorize: false
|
||||
# One of: "terminal", "terminal256", "terminal16m"
|
||||
formatter: terminal
|
||||
|
||||
# Through which pager should output be piped? (Unset this key for no pager.)
|
||||
pager: more
|
||||
# Through which pager should output be piped?
|
||||
# pager: less -FRX # <- recommended where available
|
||||
|
||||
# The paths at which cheatsheets are available. Tags associated with a cheatpath
|
||||
|
Reference in New Issue
Block a user