kitty/tools
Eng Zer Jun 77563cebb0
cli/command: remove redundant nil check
From the Go specification:

  "1. For a nil slice, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-30 11:50:52 +08:00
..
cli cli/command: remove redundant nil check 2023-08-30 11:50:52 +08:00
cmd Bump go version to 1.21 2023-08-09 11:58:16 +05:30
config Replace utils.Once with stdlib sync.OnceValue 2023-08-09 12:08:42 +05:30
crypto Remove already done TODO note 2023-08-08 21:20:16 +05:30
rsync Bump go version to 1.21 2023-08-09 11:58:16 +05:30
themes Replace utils.Once with stdlib sync.OnceValue 2023-08-09 12:08:42 +05:30
tty Replace utils.Once with stdlib sync.OnceValue 2023-08-09 12:08:42 +05:30
tui Replace utils.Once with stdlib sync.OnceValue 2023-08-09 12:08:42 +05:30
unicode_names Port calls to slices.Sort functions since they now need a cmp() function rather than a less() function 2023-08-04 22:50:13 +05:30
utils Replace utils.Once with stdlib sync.OnceValue 2023-08-09 12:08:42 +05:30
wcswidth Bump go version to 1.21 2023-08-09 11:58:16 +05:30
README.rst Update folder README 2023-03-27 13:20:10 +05:30

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.