Commit Graph

14922 Commits

Author SHA1 Message Date
Kovid Goyal
1eeea70c7a Allow dynamically generating configuration by running an arbitrary program using the new geninclude directive 2025-01-06 19:00:01 +05:30
Kovid Goyal
6d90813a48 Merge branch 'dependabot/go_modules/all-go-deps-8dcba17bc7' of https://github.com/kovidgoyal/kitty 2025-01-06 11:05:34 +05:30
Kovid Goyal
ac4bb282ee ... 2025-01-06 11:04:31 +05:30
dependabot[bot]
716f86c7f6 Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/alecthomas/chroma/v2` from 2.14.0 to 2.15.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.14.0...v2.15.0)

Updates `golang.org/x/sys` from 0.28.0 to 0.29.0
- [Commits](https://github.com/golang/sys/compare/v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 03:22:12 +00:00
Kovid Goyal
da3bb0a4cb Use truncated hostnames in zsh integration window title 2025-01-06 08:15:23 +05:30
Kovid Goyal
dc41fb3b1d Merge branch 'recommend-vim-theme' of https://github.com/deviantintegral/kitty 2025-01-06 08:12:15 +05:30
Andrew Berry
8ec8a1b66a Recommend using vim themes over terminal themes 2025-01-05 11:27:15 -05:00
Kovid Goyal
795bf7fb52 Dont use a global var for mocking 2025-01-05 20:58:33 +05:30
Kovid Goyal
86a6685446 Add mock for failing test 2025-01-05 20:36:32 +05:30
Kovid Goyal
2d02ff1c5f Implement using effective kitty config options for kittens
Also centralise reading of kitty options
2025-01-05 20:16:43 +05:30
Kovid Goyal
76ebc591db Make the effective configuration file for the kitty process available in the cache directory
This can be parsed by kittens to load effective settings, thereby making
things like --override and reloading of config also affect kittens that
read kitty config. Still to be implemented on the kitten side.
2025-01-05 15:28:30 +05:30
Kovid Goyal
b0c9262652 Fix the clear_terminal scrollback action also clearing screen 2025-01-05 14:06:14 +05:30
Kovid Goyal
cbefc72a7e macOS: Add menu items to the Edit menu to clear the screen and scrollback 2025-01-05 14:03:08 +05:30
Kovid Goyal
c6ae4b0a53 macOS: Allow using the Passwords app to autofill passwords via the Edit->Autofill menu mimicking other macOS applications
Fixes #8195
2025-01-05 13:36:25 +05:30
Kovid Goyal
daa8e6b05d Use base64 padding when encoding in the notify kitten
Otherwise kitty warns about incomplete base64 data in its stderr
2025-01-05 12:59:28 +05:30
Kovid Goyal
c07037b558 ... 2025-01-05 12:58:34 +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
48d5c90bb8 Follow @romkatv suggestion for hostname in title
Thanks, @romkatv
2025-01-05 12:39:19 +05:30
Kovid Goyal
a410d38966 Remove unused code 2025-01-05 11:07:55 +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
d23adce11c User nerd font symbols for progress as they are guaranteed to exist 2025-01-05 08:58:29 +05:30
Kovid Goyal
9b9b313e77 When a program running in kitty reports progress of a task display it as a percentage in the tab title 2025-01-05 08:48:46 +05:30
Kovid Goyal
1080b148d3 ... 2025-01-05 08:21:24 +05:30
Kovid Goyal
39629dba66 Merge branch 'fix-zsh-ssh-integration' of https://github.com/3j14/kitty 2025-01-05 07:01:41 +05:30
Jonas Drotleff
bfbf22eae4 ssh kitten: Fix zsh shell integration expanding variables in title
Remove usage of the `-P` option from the print inside the
`_ksi_precmd` and `_ksi_preexec` functions. Instead, the result of
`builtin print -Pn "%m"` is stored in the local variable `hostname`.
This mitigates accidental expansion of variables in the command to be
executed.

Fixes #8193.
2025-01-05 02:21:09 +01:00
Kovid Goyal
6fbeb939de Don't report color scheme preference change when it is changed via escape code 2025-01-05 06:10:49 +05:30
Kovid Goyal
f3db7e7554 diff kitten: Automatically change colors on terminal color scheme change 2025-01-05 06:00:24 +05:30
Kovid Goyal
98c1e0f7aa Allow reusing the token from chroma lexer 2025-01-04 17:20:08 +05:30
Kovid Goyal
e34a899ea6 diff kitten: Automatically use dark/light color scheme based on the color scheme of the parent terminal
Fixes #8170
2025-01-04 12:57:33 +05:30
Kovid Goyal
134271be93 diff kitten: Abort when run inside a terminal that does not support the kitty keyboard protocol
Fixes #8185
2025-01-03 21:34:38 +05:30
Kovid Goyal
fc463aaba5 Code to query terminal for capabilities 2025-01-03 21:30:05 +05:30
Kovid Goyal
e1f60fa71a DRYer 2025-01-03 12:24:26 +05:30
Kovid Goyal
51f08b7e45 Fix #8186 2025-01-03 12:18:05 +05:30
Kovid Goyal
b50b3530e9 Merge branch 'master' of https://github.com/roshal/kitty 2025-01-03 11:26:56 +05:30
roshal
4d88e9938c update 2025-01-03 07:26:33 +03:00
Kovid Goyal
268c8cbb37 Merge branch 'master' of https://github.com/roshal/kitty 2025-01-03 09:12:21 +05:30
roshal
855fd0241c update 2025-01-03 05:59:42 +03:00
roshal
149900a8e2 polish 2025-01-03 05:48:59 +03:00
Kovid Goyal
762ad3b226 ... 2025-01-02 19:49:38 +05:30
Kovid Goyal
9d027e4fbd ssh kitten: Fix kitten not being on PATH when sshing into Debian systems
Fixes #7160
2025-01-02 19:46:50 +05:30
Kovid Goyal
dd249df5eb Dont encode enter, tab and backspace when lock mods are set
Otherwise user cant type reset when num lock is set.
2025-01-01 06:10:47 +05:30
Kovid Goyal
f13ee32c3c Fix border colors not being changed by auto light/dark themes at startup
Fixes #8180
2024-12-31 12:28:16 +05:30
Kovid Goyal
37c3bbc684 ... 2024-12-31 12:20:24 +05:30
Kovid Goyal
909bccb807 When mapping a custom kitten allow using shell escaping for the kitten path
Fixes #8178
2024-12-31 12:13:17 +05:30
Kovid Goyal
dac6f88453 Cleanup previous PR 2024-12-28 08:08:09 +05:30
Kovid Goyal
d169418781 Merge branch 'patch-1' of https://github.com/pbronez/kitty 2024-12-28 07:37:14 +05:30
Peter Bronez
4b5ccc2911 Add Ghosttty to list of terminals implementing the graphics protocol
Ghostty 1.0 was just released. It implements the Kitty Graphics Protocol. I used a link to the specific code that implements the prototocol. Alternatively, could use the feature page https://ghostty.org/docs/features or home page https://ghostty.org
2024-12-27 13:54:50 -05:00
Kovid Goyal
fa6ae712a3 version 0.38.1 v0.38.1 2024-12-26 07:13:03 +05:30
Kovid Goyal
5a99f3b6cf clone-in-kitty: Fix KITTY_WINDOW_ID being cloned and thus having incorrect value
Fixes #8161
2024-12-25 18:27:40 +05:30