Merge branch 'fix/help-pager-fallback' of https://github.com/Xuyiyang23333/kitty

This commit is contained in:
Kovid Goyal 2026-05-13 04:48:59 +05:30
commit cb8fe24ab1
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -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 {