Commit Graph

12618 Commits

Author SHA1 Message Date
Kovid Goyal
2f20bb3f43 Bump bundled Wayland version so we can use the new cursor shape protocol
The existing wayland cursor shape protocol is an awful mess with a years
long unfixed crashing bug: https://github.com/kovidgoyal/kitty/issues/4878#issuecomment-1134259604

If this new protocol is adopted by most compositors it can work around
this. Currently wlroots and KDE I think. GNOME as usual will likely
refuse to implement anything actually useful.
2023-09-02 13:41:07 +05:30
Kovid Goyal
951951776a Ensure group_count is never zero in any ImageRef
Now group_count means the number of refs pointing to the same image from
that ref onwards. This is needed because we can index the list of refs
at any point when drawing not just at the start of a group.

Fixes #6594
2023-09-02 12:48:44 +05:30
Kovid Goyal
0be1295023 kitten run-shell: Make kitty terminfo database available if needed before starting the shell 2023-09-01 22:05:26 +05:30
Kovid Goyal
71a2d7359a Function to extract terminfo 2023-09-01 19:41:46 +05:30
Kovid Goyal
f1ba9f45bc Add docs on how to use shell integration inside a container 2023-09-01 19:09:58 +05:30
Kovid Goyal
37938573ca When running a shell for `--hold set the env variable KITTY_HOLD=1` to allow users to customize what happens
For instance the user could have

[ "$KITTY_HOLD" = "1" ] && exec kitten __hold_till_enter__

in their shell rc files to get back the previous Press enter or esc to
quit behavior.
2023-08-30 14:18:11 +05:30
Kovid Goyal
9702f08698 kitten run-shell: Allow specifying env vars when running the shell 2023-08-30 14:12:10 +05:30
Kovid Goyal
48c80a218b Merge branch 'master' of https://github.com/Juneezee/kitty 2023-08-30 09:36:28 +05:30
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
Kovid Goyal
a6a2a5b6e6 ... 2023-08-27 19:26:13 +05:30
Kovid Goyal
436ce33278 Group dependabot update PRs 2023-08-27 10:54:34 +05:30
Kovid Goyal
54f162454f Merge branch 'master' of https://github.com/grondilu/kitty 2023-08-27 08:31:55 +05:30
Lucien Grondin
4d516cb80f fix three presumed typos 2023-08-26 12:06:43 +02:00
Kovid Goyal
a51a4e2a6e Update changelog 2023-08-26 09:07:51 +05:30
Kovid Goyal
588da9f1dc ... 2023-08-25 19:02:36 +05:30
Kovid Goyal
d0386d4b00 Merge branch 'master' of https://github.com/JaydenElliott/kitty 2023-08-25 19:00:52 +05:30
jaydenelliott
7e71d08b42 added missing link to docs 2023-08-25 22:12:32 +10:00
Kovid Goyal
be03da0c54 macOS: Fix keyboard shortcuts in the Apple global menubar not being changed when reloading the config 2023-08-25 16:08:34 +05:30
Kovid Goyal
be9dda0aa4 Fix incorrect shader recompile on settings change
Fixes #6559
2023-08-25 14:57:16 +05:30
Kovid Goyal
da88eaeb23 Hide tracebacks for parse errors of match expressions 2023-08-25 14:38:34 +05:30
Kovid Goyal
8a9306d1bf Nicer error message when unknown location specified in search query 2023-08-25 14:34:39 +05:30
Kovid Goyal
0bbc2ad734 Make mypy happy 2023-08-25 14:09:16 +05:30
Kovid Goyal
f50660bb30 Remote control: Allow matching by neighbor of active window 2023-08-25 13:48:53 +05:30
Kovid Goyal
1cb4cdbaea Make the Go example for getting window size complete 2023-08-25 13:00:26 +05:30
Kovid Goyal
0fe4d6462b ... 2023-08-25 09:01:07 +05:30
Kovid Goyal
89fac93f14 Remove unnecessary branch 2023-08-18 08:10:09 +05:30
Kovid Goyal
c49d71f85b Allow more chars in visual_window_select_characters
Fixes #6554
2023-08-16 20:38:10 +05:30
Kovid Goyal
67bf3eda5a ... 2023-08-16 19:16:05 +05:30
Kovid Goyal
8e6dc030b4 Add a note that unicode placeholders cause image wrapping 2023-08-16 19:10:07 +05:30
Kovid Goyal
c23ff34c84 Update changelog 2023-08-16 19:05:52 +05:30
Kovid Goyal
2c232ce709 kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder
Fixes #6556
2023-08-16 19:04:15 +05:30
Kovid Goyal
b276b563c5 Fix #6555 2023-08-16 16:49:39 +05:30
Kovid Goyal
d006ba504f Use a separate cache for the job that builds static kittens 2023-08-16 14:09:51 +05:30
Kovid Goyal
ebbb8e4a09 The github setup-go action now supports caching out of the box 2023-08-16 12:02:32 +05:30
Kovid Goyal
670ad353b2 unicode_input kitten: Add an option to specify the startup tab
Fixes #6552
2023-08-16 11:54:50 +05:30
Kovid Goyal
f299549dba Improve sectioning in kitty.conf manpage
See #6553
2023-08-16 11:27:10 +05:30
Kovid Goyal
cba8b0a1dd ... 2023-08-15 09:18:00 +05:30
Kovid Goyal
0ba5f20902 CI: See if we can cache golang build artifacts 2023-08-11 09:17:05 +05:30
Kovid Goyal
3687694d0d Make building of static kittens the last step in CI
It is the least likely to fail and also the longest to execute
2023-08-11 08:48:19 +05:30
Kovid Goyal
193c2542bd Make mypy 1.5.0 happy 2023-08-11 08:34:22 +05:30
Kovid Goyal
85005eee1b receive kitten: Send signature in 4KB blocks 2023-08-10 11:10:55 +05:30
Kovid Goyal
47af65dc5c Ensure transmit next chunk is called 2023-08-10 07:51:13 +05:30
Kovid Goyal
4f72bb9894 Replace utils.Once with stdlib sync.OnceValue 2023-08-09 12:08:42 +05:30
Kovid Goyal
49ea26968c Bump go version to 1.21
Allows us to use the much faster builtin min/max functions
for two variable min/max
2023-08-09 11:58:16 +05:30
Kovid Goyal
f125ffe3e0 Fix a hang in the send kitten when transmitting deltas of multiple files
and the files have not changed causing the signature of the second file
to arrive after the delta for the first file is transmitted
2023-08-09 08:25:18 +05:30
Kovid Goyal
ccc25b5c40 Make transmission of rsync signature from terminal more efficient
Merge it up into 4096 byte sized chunks instead of 20 byte chunks.
2023-08-08 21:58:19 +05:30
Kovid Goyal
696ef40e38 Remove already done TODO note 2023-08-08 21:20:16 +05:30
Kovid Goyal
b348195d22 Ignore listen_on=none in kitty.conf 2023-08-08 20:58:34 +05:30
Kovid Goyal
12bdc0cc0c ... 2023-08-08 17:51:02 +05:30
Kovid Goyal
a628609ca8 Fix incorrect ETA calculation for active file 2023-08-08 17:45:28 +05:30