mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
Merge branch 'fix/help-pager-fallback' of https://github.com/Xuyiyang23333/kitty
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user