Commit Graph

12637 Commits

Author SHA1 Message Date
Kovid Goyal
af4213579c ssh kitten: Fix a regression causing hostname directives in ssh.conf not matching when username is specified 2023-09-08 15:10:46 +05:30
Kovid Goyal
d1d888ce19 Remove unnecessary copy of the decoder array 2023-09-04 22:28:18 +05:30
Kovid Goyal
1f4386fd08 ... 2023-09-04 21:44:46 +05:30
Kovid Goyal
34e5c7f8aa Ensure efficient conversion for base85 string API 2023-09-04 21:39:03 +05:30
Kovid Goyal
541c0cdde4 Do not build decode table for base85 until it is actually needed
Also make the tests actual tests
2023-09-04 21:32:25 +05:30
Kovid Goyal
0107d1cb89 Import base85.go into tree
Upstream is not maintained last commit was six years ago and there
are various improvements to be had in the code
2023-09-04 20:29:20 +05:30
Kovid Goyal
aad330135c cursor-shape depends on tablet-unstable 2023-09-04 12:36:21 +05:30
Kovid Goyal
13bdb2035c Merge branch 'pr-fix-reset' of https://github.com/sergei-grechanik/kitty 2023-09-04 07:34:12 +05:30
Kovid Goyal
e7ba91d182 Skip zero group_count images in draw_graphics()
Good to be defensive, ensures no infinite loop.
2023-09-04 07:18:39 +05:30
Sergei Grechanik
63cc5d7e49 Fix erasure of unicode placeholder images on reset 2023-09-03 15:33:30 -07:00
Kovid Goyal
4ffb22199b Cleanup previous PR 2023-09-03 18:59:37 +05:30
Kovid Goyal
07d9b95050 Merge branch 'config-line-breaks' of https://github.com/jake-stewart/kitty 2023-09-03 14:50:31 +05:30
Jake Stewart
b520df4cfa add documentation for line breaking syntax 2023-09-03 17:19:12 +08:00
Jake Stewart
f0e9311cc4 conform to style guide 2023-09-03 17:15:26 +08:00
Jake Stewart
8754d80832 add tests for go config parser 2023-09-03 16:39:27 +08:00
Jake Stewart
0aa4c850ba add line break syntax to go config parser 2023-09-03 16:39:13 +08:00
Jake Stewart
6354ef4cee add tests for python config parser 2023-09-03 16:37:59 +08:00
Jake Stewart
2113a22f11 add line break syntax to python config parser 2023-09-03 16:37:34 +08:00
Kovid Goyal
d6851210d7 When multiple confirmable close requests are made focus the existing close confirmation window instead of opening a new one for each request
Fixes #6601
2023-09-03 13:03:16 +05:30
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