Merge branch 'fix/help-pager-fallback' of https://github.com/Xuyiyang23333/kitty
This commit is contained in:
commit
cb8fe24ab1
1 changed files with 3 additions and 1 deletions
|
|
@ -131,7 +131,9 @@ func ShowHelpInPager(text string) {
|
|||
pager.Stdin = strings.NewReader(text)
|
||||
pager.Stdout = os.Stdout
|
||||
pager.Stderr = os.Stderr
|
||||
_ = pager.Run()
|
||||
if err := pager.Run(); err != nil {
|
||||
os.Stdout.WriteString(text)
|
||||
}
|
||||
}
|
||||
|
||||
func getDeterministicTimestamp() time.Time {
|
||||
|
|
|
|||
Loading…
Reference in a new issue