mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
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> |
||
|---|---|---|
| .. | ||
| cli | ||
| cmd | ||
| config | ||
| crypto | ||
| disk_cache | ||
| fzf | ||
| highlight | ||
| icons | ||
| ignorefiles | ||
| rsync | ||
| simdstring | ||
| themes | ||
| tty | ||
| tui | ||
| unicode_names | ||
| utils | ||
| vt | ||
| watch | ||
| wcswidth | ||
| README.rst | ||
This folder contains library and utility code for the various "kittens". Small terminal programs compiled statically for doing things like kitty remote control, icat etc. These are often re-implementations of earlier kittens that were written in Python.