kitty/tools/cli
Xuyiyang23333 c0661024d8 Fix silent failure when pager (less) is not installed
When kitten --help is run in a terminal and less is not available,
ShowHelpInPager silently discards the error from pager.Run(), resulting
in no output and a zero exit code. Fall back to writing help text
directly to stdout when the pager fails, matching the behavior of the
Python equivalent in kitty/cli.py which catches FileNotFoundError and
prints the text as a fallback.

Signed-off-by: Xuyiyang23333 <xuyiyang23333@gmail.com>
2026-05-13 00:37:55 +08:00
..
markup run modernize 2025-11-11 17:09:37 +05:30
bash.go Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
command.go Allow using defer in KittenMain 2025-09-30 11:20:37 +05:30
completion-main.go ... 2025-07-10 08:20:16 +05:30
completion-parse-args.go
completion.go run modernize 2025-11-11 17:09:37 +05:30
files.go run modernize 2025-11-11 17:09:37 +05:30
files_test.go Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
fish.go Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
group.go
help.go Fix silent failure when pager (less) is not installed 2026-05-13 00:37:55 +08:00
option-from-string.go Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
option.go Start work on quick-access-terminal kitten 2025-04-28 19:52:04 +05:30
parse-args.go Allow explicitly setting boolean options in Go cli parser 2025-04-28 11:54:51 +05:30
types_test.go Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
wcswidth_kitten.go Modernize Go code 2026-03-21 08:41:47 +05:30
zsh.go ... 2025-12-08 20:47:20 +05:30