kitty/kittens
Hector Tellez 501f28acdf Fixes bug where hints starting with the first alphabet's character are _almost never_ generated.
* Switches to "positional notation" to fix the bug.
* Consolidates `encode_hint` and `generate_prefix_free_hint` into `encode_hint`.
* Moves prefix_free_hints.go to hints_generator.go; `encode_hint` and `decode_hint` were moved here too.
* The "prefix-free" logic was made 0-index based instead of 1-index based for two reasons:
  1. To simplify 1-off discrepancies.
  2. To keep backwards compatibility with the old usage of `encode_hint`.
* Slight perfomance improvement added by reusing the runt-to-index map instead of rebuilding for each call to `decode_hint`.
* Unit tests added; for all new logic and old affected logic.

Fixes #10231
2026-07-07 02:07:51 -07:00
..
ask Modernize Go code 2026-03-21 08:41:47 +05:30
broadcast Migrate type checker to ty 2026-07-04 09:18:00 +05:30
choose_files Fix text overflow in choose files search box caused by move to readline 2026-07-05 18:01:42 +05:30
choose_fonts fix(choose-fonts): guard preview rendering against partial terminal color query 2026-06-10 02:18:18 -07:00
clipboard Use SIMD base64 everywhere 2026-04-21 11:56:55 +05:30
command_palette run go modernizer 2026-04-16 19:12:31 +05:30
desktop_ui desktop-ui kitten: Re-read config on every file chooser invocation via portal 2026-02-03 21:08:55 +05:30
diff diff kitten: Strip suid/sgid bits from extracted files 2026-06-03 05:45:04 +05:30
dnd dnd kitten: Create regular files with O_EXCL to avoid symlink attacks 2026-06-03 12:17:38 +05:30
hints Fixes bug where hints starting with the first alphabet's character are _almost never_ generated. 2026-07-07 02:07:51 -07:00
hyperlinked_grep run modernize 2025-11-11 17:09:37 +05:30
icat DRYer 2026-04-10 15:32:27 +05:30
notify Use SIMD base64 everywhere 2026-04-21 11:56:55 +05:30
pager Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
panel Sort imports 2026-04-19 21:53:09 +05:30
query_terminal DRYer 2026-04-10 15:32:27 +05:30
quick_access_terminal Cache parsing of command line specifications 2025-09-29 12:31:10 +05:30
remote_file rename typing module to avoid conflicts with stdlib typing 2025-04-28 09:20:10 +05:30
resize_window Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
show_key Modernize Go code 2026-03-21 08:41:47 +05:30
ssh ssh kitten: avoid in-place mutation of cmd by slices.Insert 2026-05-18 23:08:33 -04:00
themes Add a note about interaction of --reload-in and auto reload 2026-06-07 08:55:48 +05:30
transfer Use SIMD base64 everywhere 2026-04-21 11:56:55 +05:30
tui Migrate type checker to ty 2026-07-04 09:18:00 +05:30
unicode_input Rename go module from kitty -> github.com/kovidgoyal/kitty 2025-05-16 08:43:39 +05:30
__init__.py
runner.py Allow custom kitten names with hyphens in them 2025-05-06 22:16:28 +05:30