Kovid Goyal
02dd29ad14
Add nightly version to version string for nightly builds. Fixes #10751
2026-10-27 10:43:51 +05:30
Kovid Goyal
f9bd7c2085
set-spacing: Accept the *-horizontal and *-vertical edge names in kitten @
...
The Go parser had its own copy of the edge name mapping, which had drifted
from the Python one. Generate the Go mapping from the Python one so there
is a single source of truth, and share the documentation of the spacing
syntax between set-spacing and launch --spacing, documenting the long
forms.
Closes #10712
2026-10-21 10:20:35 +05:30
Kovid Goyal
48674a7869
set-colors: Clean up parsing of colors and conf files
...
Pass the CLI options to parse_colors_and_files instead of reading
global state, and have it set all and configured when reset is
specified, matching the Python client.
Read conf files with the standard config parser so that tabs,
indentation, long lines and include directives work, and report
invalid colors instead of silently ignoring them. Non-color settings
and special values of colors such as wayland_titlebar_color are still
ignored, as in the Python client.
Allow special_parse functions to take over fields that are backed by
options in the generated Go remote control code.
2026-10-20 07:32:15 +05:30
Kovid Goyal
32a77d3cf7
Fix colors 16-255 being set to white by ssh and themes kittens when theme leaves them unset
...
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Fixes #10661
2026-10-13 14:03:22 +05:30
Kovid Goyal
7e7355ccbe
make ty 85 happy
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-10-07 05:07:04 +05:30
Kovid Goyal
7f0b072f0d
autoformat
2026-08-05 05:32:56 +05:30
Kovid Goyal
a65b4c70a7
Migrate type checker to ty
...
Much faster than mypy. Matches usage of ruff from same developer.
2026-07-04 09:18:00 +05:30
Kovid Goyal
4798ccd0d2
Fix completion for edit-in-kitty not including some common text file types
2026-03-27 20:07:55 +05:30
Kovid Goyal
67b706ff71
Make DND code constant available to kittens
2026-03-21 08:41:47 +05:30
Kovid Goyal
573bfb688a
Move parsing of colors fully into C
...
Uses a perfect hash function for color name lookup
2025-12-31 14:21:45 +05:30
Kovid Goyal
9a4b52f8b9
diff kitten: Fix wheel_scroll_multiplier not being respected
...
Fixes #9054
2025-10-01 17:07:47 +05:30
Kovid Goyal
d8b524c692
Cache parsing of command line specifications
...
Change option specification from dict to tuple for better performance
and immutability and better type checking.
2025-09-29 12:31:10 +05:30
Kovid Goyal
d5534b6238
Add conf file for desktop-ui kitten
2025-07-01 13:26:39 +05:30
Kovid Goyal
6b07ad7ba4
When scores match tie break with length
2025-06-24 21:17:02 +05:30
Kovid Goyal
9de6bfbbd7
More work on choose files kitten
2025-06-19 11:43:12 +05:30
Kovid Goyal
c861259e3b
Rename go module from kitty -> github.com/kovidgoyal/kitty
...
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
b950cb85ce
...
2025-04-29 09:39:05 +05:30
Kovid Goyal
24aa1f171c
Make AsCommandLine() more parsimonious
2025-04-29 09:37:36 +05:30
Kovid Goyal
cd75baccf2
Remove unused code
2025-04-28 15:37:08 +05:30
Kovid Goyal
27c5b6aac5
Generate option parser in C for kitty CLI
2025-04-28 09:20:10 +05:30
Kovid Goyal
e42d410ee4
Move cli spec parsing code into simple module
2025-04-28 09:20:10 +05:30
Kovid Goyal
3f00dc1c9e
Work on improving CLI parsing
...
Can now set bool values explicitly with =
Handle multi short flag args like -abc
Add unit tests for CLI parsing
Generate go code to serialize CLI options as a cmdline
TODO: Implement setting of bool vals in C and Go parsing code
TODO: Help/rst output should somehow indicate this feature
2025-04-26 09:01:54 +05:30
Kovid Goyal
4c31cb179e
Make go bitfield generation code re-useable
2025-03-22 12:05:56 +05:30
Kovid Goyal
b0c41a70bd
Start work on VT LineBuf in Go
2025-02-07 20:09:00 +05:30
Kovid Goyal
2f57d20153
Add hyperlink id to CellAttrs
2025-02-06 20:35:50 +05:30
Kovid Goyal
92e2b93e95
Start work on VT implementation in Go
...
Will be used by pager kitten
2025-02-06 12:31:32 +05:30
Kovid Goyal
35b3ae8edb
Revert "themes kitten: When using the Default theme as an auto switch theme include all the actual settings values"
...
This reverts commit 2abc0be844 .
2024-12-20 12:54:47 +05:30
Kovid Goyal
2abc0be844
themes kitten: When using the Default theme as an auto switch theme include all the actual settings values
...
Fixes #8124
2024-12-16 15:32:32 +05:30
Kovid Goyal
96c1a5c4d1
Get automatic theme switching working
2024-11-07 17:31:44 +05:30
Kovid Goyal
8b7cd98a0e
When running a kitten that modifies the kitty config file if no config file exists create a commented out default config file and then modify it
...
Fixes #7991
2024-10-28 14:01:42 +05:30
Kovid Goyal
75d0dcab8d
Nicer fix for non-zero fields in rc protocol
2024-08-05 11:18:41 +05:30
Kovid Goyal
2b3f2258ff
More pyugrade to 3.9
2024-08-05 11:00:51 +05:30
Kovid Goyal
a19ce66e62
Automate finding of kittens that need Go CLIs generated
2024-07-28 21:07:28 +05:30
Kovid Goyal
5c1af0fcb1
Start work on the notify kitten
2024-07-28 20:41:01 +05:30
Kovid Goyal
15dd95d420
kitten @ resize-window: Fix --increment=0 treated as --increment=2
2024-07-15 22:32:29 +05:30
Kovid Goyal
2be91d73dd
Move the query_terminal implementation to Go
2024-06-24 07:54:14 +05:30
Kovid Goyal
51472e1e88
Infrastructure for simple internal hyperlink handling
2024-06-24 07:54:13 +05:30
Kovid Goyal
c1af14c22a
Fix @ send-key not working to send keys to self over TTY
2024-03-05 13:09:07 +05:30
Kovid Goyal
4e6138d785
Generate SIMD code during build
2024-02-25 09:57:39 +05:30
Kovid Goyal
946d28ae37
Completion for kitty @ load-config --override xxx
2024-02-10 14:52:29 +05:30
Kovid Goyal
97e2d41233
Completion for kitty @ action
2024-02-10 14:01:45 +05:30
Kovid Goyal
8cc2cad4d9
Use list of legal chars in URL from the WHATWG standard
...
Notably this excludes some ASCII chars: <>{}[]`|
See https://url.spec.whatwg.org/#url-code-points
Fixes #7095
2024-02-05 13:27:22 +05:30
Kovid Goyal
0bd50abd77
Start work on pager kitten
2024-01-19 15:09:20 +05:30
Kovid Goyal
a9b412baba
Fix a regression that broke kitten update-self
...
Fixes #6729
2023-10-18 19:19:35 +05:30
Kovid Goyal
c03dff2322
Fix help text and short desc for the two wrapper kittens
2023-10-17 19:50:47 +05:30
Kovid Goyal
ddb121b418
Remote control launch: Fix the --copy-env option not copying current environment variables
...
Fixes #6724
2023-10-16 22:32:51 +05:30
Kovid Goyal
119582a9d4
Make relative imports work in gen scripts even when directly executed
2023-10-15 09:51:03 +05:30
Kovid Goyal
e6ef2fceea
py3.8 support
2023-10-14 07:57:03 +05:30
Kovid Goyal
56063b96fd
Move gen scripts into their own package
2023-10-14 07:44:18 +05:30