463 Commits

Author SHA1 Message Date
Kovid Goyal
063cf243c1 add cursor_trail_color to nullable_colors and all_color_settings 2025-07-19 07:03:13 +05:30
Kovid Goyal
94e6f240a6 Allow running python kittens via the kitten binary
It just delegates to kitty +kitten automatically
2025-07-15 14:36:19 +05:30
Kovid Goyal
4d3bbd82e0 Extend the SGR Pixel mouse reporting protocol to also report when the mouse leaves the window 2025-07-12 11:59:23 +05:30
Kovid Goyal
4a13c53438 Turn off focus tracking while doing tty remote control
Fixes #8733
2025-06-16 21:57:19 +05:30
Kovid Goyal
fbfdb38260 Start work on choose files kitten 2025-05-20 12:32:43 +05:30
Kovid Goyal
c94844b220 Start work on Linux desktop portal kitten 2025-05-19 08:52:18 +05:30
Kovid Goyal
4713cc29ad make gofmt happy 2025-05-16 09:40:34 +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
123a115836 Make kitten main re-useable 2025-05-13 18:51:49 +05:30
Kovid Goyal
6a53897c17 change_font_size: allow multiplying/dividing the current font size in addition to incrementing it
Fixes #8616
2025-05-09 07:39:06 +05:30
Kovid Goyal
5683314784 Start work on quick-access-terminal kitten 2025-04-28 19:52:04 +05:30
Kovid Goyal
9854068a59 Start work on panel kitten wrapper in Go
Needed because we need to use a special exe on macOS.
2025-04-28 16:07:09 +05:30
Kovid Goyal
17876385c5 ... 2025-04-23 18:52:40 +05:30
Kovid Goyal
cf6bb29ef7 Start work on width testing kitten 2025-04-11 09:34:21 +05:30
Kovid Goyal
4c28200cab Separate out the control chars when generating benchmark data 2025-04-03 09:33:55 +05:30
Kovid Goyal
e0efdaa3f0 ... 2025-04-03 09:26:04 +05:30
Kovid Goyal
191ea16cd7 Confirm and run tool 2025-03-20 13:35:12 +05:30
Kovid Goyal
d82edad2be ... 2025-03-20 12:50:51 +05:30
Kovid Goyal
0afa6d5b3d Fix shebang viewing of short scripts not working 2025-03-20 12:49:28 +05:30
Kovid Goyal
ca1555d12e Avoid spinning up the python interpreter just for running a shebang 2025-03-20 11:36:59 +05:30
Kovid Goyal
812fe467c9 Report OSC 6/106 as ignored only once 2025-03-09 19:02:19 +05:30
Kovid Goyal
f29bc638ce Remote control: allow scrolling to prev/next prompt 2025-02-18 19:17:10 +05:30
Kovid Goyal
334adf9c1a Ensure temp files and other resources are cleaned up even if kitty crashes or is SIGKILLed 2025-01-05 12:51:59 +05:30
Kovid Goyal
25cb73511f Implement atexit.rmtree 2025-01-05 11:04:23 +05:30
Kovid Goyal
0d5bcff353 Tool to implement robust cleanups even on process crash 2025-01-05 10:50:50 +05:30
Kovid Goyal
d5356804c8 ... 2024-11-23 12:06:39 +05:30
Kovid Goyal
a87ccbf8e5 Add some combining chars to the benchmark 2024-11-23 12:02:59 +05:30
Kovid Goyal
af83d855de Add a framework for easily and securely using remote control from the main function of a custom kitten 2024-09-29 20:36:12 +05:30
Kovid Goyal
c1fb18a6ef Implement changing transparent background colors via remote control 2024-09-24 19:02:13 +05:30
Kovid Goyal
dbfeb8d6a4 Store transparent colors on ColorProfile
This will eventually allow them to be changed using remote control and
escape codes.
2024-09-24 19:02:13 +05:30
Kovid Goyal
fdc3c3d7c1 kitten @: Fix a regression connecting to TCP sockets using plain IP addresses rather than hostnames
Fixes #7794
2024-08-27 18:30:51 +05:30
Kovid Goyal
2ac26b0e6d Fix #7752 2024-08-20 17:27:13 +05:30
Kovid Goyal
5c1af0fcb1 Start work on the notify kitten 2024-07-28 20:41:01 +05:30
Kovid Goyal
a50bf2c6bb move code into separate function for legibility 2024-07-26 22:43:13 +05:30
Kovid Goyal
bb3aecd2a5 kitten run-shell: Automatically add the directory containing the kitten binary to PATH if needed
Controlled via the --inject-self-onto-path option
2024-07-26 22:29:05 +05:30
Kovid Goyal
8201f0dd0e Move caching implementation to Python
Less code, more performant since the cache is used from Python.
And we can make the Go code a pure image format conversion filter.
2024-07-23 13:37:53 +05:30
Kovid Goyal
fb20c4acb6 Code to convert image at path into cached RGBA data 2024-07-22 21:39:38 +05:30
Kovid Goyal
c906314974 change the atomic write functions to work with readers 2024-07-22 15:01:19 +05:30
Kovid Goyal
0cf9a79760 A new option second_transparent_bg
Makes a second background color semi-transparent via background_opacity.
Useful for things like cursor line highlight in editors.

Fixes #7646
2024-07-21 20:22:31 +05:30
Kovid Goyal
ff2baf9122 mouse demo redraw screen on window resize 2024-07-20 17:05:30 +05:30
Kovid Goyal
2be91d73dd Move the query_terminal implementation to Go 2024-06-24 07:54:14 +05:30
Kovid Goyal
f2d5631c47 Replace list_fonts with choose-fonts kitten 2024-06-24 07:54:13 +05:30
Kovid Goyal
405f5ce148 Use stdlib maps/slices 2024-06-24 07:54:13 +05:30
Kovid Goyal
e7ed5716a9 Use RenderLines.InRectangle 2024-06-24 07:54:13 +05:30
Kovid Goyal
51472e1e88 Infrastructure for simple internal hyperlink handling 2024-06-24 07:54:13 +05:30
Kovid Goyal
9e688720a6 Work on supporting mouse interactions via simple hyperlinks 2024-06-24 07:54:13 +05:30
Kovid Goyal
9dc8374d8b Display all styles from STAT table 2024-06-24 07:54:13 +05:30
Kovid Goyal
d1ba421e8c Work on getting styles from STAT table data 2024-06-24 07:54:13 +05:30
Kovid Goyal
3814e92f31 Work on listing available styles for a family 2024-06-24 07:54:12 +05:30
Kovid Goyal
3b80ee0981 Load font variable data on demand 2024-06-24 07:54:12 +05:30