Commit graph

2457 commits

Author SHA1 Message Date
Kovid Goyal
cb15b98afd
Add presenterm to the list of integrations 2023-10-17 21:52:18 +05:30
Kovid Goyal
45a98b19c5
Mention that pointer shapes can be demo-ed with the mouse_demo kitten 2023-10-17 21:17:45 +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
d2026574b8
Add a sentence emphasizing the pointer shapes are independent of mouse reporting 2023-10-16 20:36:09 +05:30
Kovid Goyal
187fa996f8
Add the cell pointer shape 2023-10-16 20:33:12 +05:30
Kovid Goyal
5d5bbe9b96
Add a paragraph on legacy xterm compat for pointer shapes 2023-10-15 21:59:04 +05:30
Kovid Goyal
3a6c7e78df
Note when support for pointer shapes was added 2023-10-15 21:51:10 +05:30
Kovid Goyal
1693107608
A new escape code to change the shape of the mouse pointer
Fixes #6711
2023-10-15 19:57:36 +05:30
Kovid Goyal
4f1971c480
Rationalize mouse cursor shape handling
Now can use the full range of standard mouse cursor shapes similar to
those supported by browsers via the CSS cursor property.

Still needs to be fully implemented for cocoa backend.
2023-10-15 09:17:31 +05:30
Kovid Goyal
a79dd3996a
Also move data files for gen scripts into gen dir 2023-10-14 08:04:37 +05:30
Kovid Goyal
1f91250a40
Fix trailing bracket not ignored when detecting a multi-line URL with the trailing bracket as the first character on the last line
Fixes #6710
2023-10-13 10:44:58 +05:30
Kovid Goyal
00dc5a8dc5
Fix a regression caused by rewrite of kittens to Go that made various kittens reset colors in a terminal when the colors were changed by escape code
Fixes #6708
2023-10-12 20:19:28 +05:30
Kovid Goyal
16e7ca3a95
kitten @ set-background-opacity --toggle
Fixes #6691
2023-10-10 05:04:50 +05:30
Kovid Goyal
f73d32e15d
A new option menu_map that allows adding entries to the global menubar on macOS 2023-10-09 19:47:25 +05:30
Kovid Goyal
32b7be2201
Proper fix for braindead macOS login
Always run it in the home dir as it seems to expect that. Change the
working dir after running login
2023-10-09 11:29:32 +05:30
Kovid Goyal
619d4e3dc4
Run login on macOS with -q
Fixes #6689
2023-10-09 07:05:43 +05:30
Kovid Goyal
edb9c924fe
Note that fzf now supports the kitty graphics protocol for image previews 2023-10-08 07:22:54 +05:30
Kovid Goyal
805bc499ee
Fix documentation of word_and_line_from_point 2023-10-06 10:01:24 +05:30
Kovid Goyal
6a3529b7c2
version 0.30.1 2023-10-05 16:38:03 +05:30
Kovid Goyal
a2671c9101
Update changelog 2023-10-05 10:49:13 +05:30
Kovid Goyal
f37cce2ae4
... 2023-10-01 08:20:15 +05:30
Kovid Goyal
e04e5a157f
Note that nushell supports the kitty keyboard protocol 2023-09-29 19:48:46 +05:30
Kovid Goyal
ed32bf35a7
clean up some docs text 2023-09-26 20:30:27 +05:30
Kovid Goyal
bda9155be1
... 2023-09-26 10:04:15 +05:30
Kovid Goyal
3fef881956
Fix #6653 2023-09-26 09:44:45 +05:30
Kovid Goyal
2502111697
Make mypy happy 2023-09-25 21:30:42 +05:30
Kovid Goyal
acd6b168fd
... 2023-09-25 21:16:24 +05:30
Kovid Goyal
164dd0d637
man pages: Fix table markup in kitty man pages not being rendered correctly at all window sizes
Fixes #5095
2023-09-25 21:09:27 +05:30
Kovid Goyal
45bfeeef21
Update FAQ on sudo + terminfo 2023-09-24 13:41:16 +05:30
Kovid Goyal
d96fdb80ed
Shell integration now aliases sudo to make the kitty terminfo db available in the sudo environment
This should make terminfo completely transparent for most users on the
local machine and on remote machines that are connected to with the ssh
kitten.
2023-09-24 13:35:29 +05:30
Kovid Goyal
68b861b188
macOS: When running the default shell, run it via the login program so that calls to `getlogin()` work
Fixes #6511
2023-09-24 11:12:02 +05:30
Kovid Goyal
76c6f91685
Expand environment variables in the shell option
See #6511 for discussion
2023-09-24 08:28:42 +05:30
jake-stewart
7b3513d010
fix double backslash
it looks like RST does not require backslashes to be escaped when encased in double backticks. double backslash in double backticks causes two backslashes to render. the problem can be seen on this page https://sw.kovidgoyal.net/kitty/conf/
2023-09-23 22:50:41 +08:00
Kovid Goyal
0a2f164062
Change kitty +kitten -> kitten in docs
All kittens except for the broadcast and panel kittens have now been
ported to Go and so can be run with just kitten rather than kitty
+kitten. So update the docs to use this canonical form for launching
kittens
2023-09-21 12:25:02 +05:30
Kovid Goyal
eb05f6864f
Update changelog 2023-09-20 09:17:00 +05:30
Kovid Goyal
b21bbbe14c
Fix ssh kitten override parsing ignoring settings inherited from ssh.conf
Fixes #6639
2023-09-20 09:15:38 +05:30
Kovid Goyal
35766a1a86
Link to a couple of kittens for more advanced scrollback paging in the docs 2023-09-18 11:01:17 +05:30
Kovid Goyal
a5e74d406c
fix link in changelog 2023-09-18 08:59:22 +05:30
Kovid Goyal
30c37a5809
... 2023-09-18 08:46:22 +05:30
Kovid Goyal
9a0140c430
... 2023-09-18 07:44:50 +05:30
Kovid Goyal
b96f56b072
Update recent major new features 2023-09-18 07:34:49 +05:30
Kovid Goyal
3a34664483
Adjust the workaround for non-linear blending of transparent pixels in compositors to hopefully further reduce fringing around text with certain color issues
Fixes #6534
2023-09-17 20:39:56 +05:30
Kovid Goyal
f63bbfc88c
Wayland: Do not request idle inhibition for full screen windows
Fixes #6613
2023-09-12 16:43:46 +05:30
Kovid Goyal
c99d55691d
diff kitten: Add support for files that are identical apart from mode changes
Fixes #6611
2023-09-09 19:04:54 +05:30
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
4ffb22199b
Cleanup previous PR 2023-09-03 18:59:37 +05:30
Jake Stewart
b520df4cfa add documentation for line breaking syntax 2023-09-03 17:19:12 +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
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
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
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
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
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
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
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
2153b5cdce
... 2023-08-04 14:42:04 +05:30
Kovid Goyal
1f9852d76c
ssh kitten: Easily forward the remote control socket tot he remote host 2023-08-04 14:36:50 +05:30
Kovid Goyal
bde4a41ed4
Remote control: Allow using a random TCP socket as the remote control socket and also allow using TCP sockets in kitty.conf 2023-08-04 11:12:31 +05:30
Kovid Goyal
335d2616e7
... 2023-08-03 18:04:49 +05:30
Kovid Goyal
cade8efc25
kitten @ ls: Allow limiting output to matched windows/tabs
Fixes #6520
2023-08-03 11:53:17 +05:30
Kovid Goyal
5d7ea739d3
Update changelog 2023-07-30 19:55:53 +05:30
Kovid Goyal
8d24bf1162
Document the rsync wire formats 2023-07-30 19:49:48 +05:30
Kovid Goyal
1c094a3b53
Cleanup user docs for transfer kitten 2023-07-30 19:49:47 +05:30
Kovid Goyal
141edb975e
Misc fixes 2023-07-30 19:49:47 +05:30
Kovid Goyal
34dfd1881f
Update docs on what is needed for the transfer kitten 2023-07-30 19:49:44 +05:30
Kovid Goyal
fabb6bd8cc
Start work on porting Go rsync implementation to C 2023-07-30 19:49:42 +05:30
Kovid Goyal
aa86b98eee
Use encryption for bypass 2023-07-30 19:49:39 +05:30
Kovid Goyal
49741d9c42
Note that when chunking base64 data for the graphics escape code chunks must be 4-byte aligned 2023-07-30 19:49:38 +05:30
Kovid Goyal
d6df77c83d
... 2023-07-30 19:49:38 +05:30
Kovid Goyal
6b93610b6a
more work on transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
02c9205061
X11: Print an error to STDERR instead of refusing to start when the user sets a custom window icon larger than 128128
Fixes #6507
2023-07-30 19:40:55 +05:30
Kovid Goyal
5c0fe23aa5
Allow building docs using the develop infrastructure 2023-07-29 15:57:40 +05:30
Kovid Goyal
ecbec79cff
Update docs for new develop builds 2023-07-29 14:16:25 +05:30
Kovid Goyal
d9b41b7715
New remote control command to set user variables 2023-07-27 18:49:03 +05:30
Kovid Goyal
c767dd0d0d
kitty @ ls: Add user variables set on windows to the output
These can be set by programs running in the window using the OSC 1337
escape code, as specified here:
https://iterm2.com/documentation-scripting-fundamentals.html#setting-user-defined-variables

Fixes #6502
2023-07-27 13:47:22 +05:30
Kovid Goyal
95316fc2dc
version 0.29.2 2023-07-27 08:49:32 +05:30
Kovid Goyal
737e4cdbd3
unicode_input kitten: Fix scrolling over multiple screens not working
Fixes #6497
2023-07-27 08:41:18 +05:30
Kovid Goyal
906b5fdcb7
Update changelog
Fixes #6492
2023-07-24 10:54:34 +05:30
Kovid Goyal
630101204b
macOS: Disable OS window shadows for transparent windows as they cause rendering artifacts due to Cocoa bugs
Fixes #6439
2023-07-22 11:20:37 +05:30
Kovid Goyal
902b9e9693
Go back to using uniforms for the gamma LUT
Apparently older macOS M1 GPU drivers' performance falls off a cliff
when using const float arrays instead. Fixes #6479
2023-07-18 19:28:15 +05:30
Kovid Goyal
a0341af3f8
version 0.29.1 2023-07-17 11:27:13 +05:30
Kovid Goyal
e712f135ae
Update Changelog for previous PR 2023-07-17 07:31:30 +05:30
Kovid Goyal
4ad529618c
Update changelog
Fixes #6467
2023-07-16 13:13:09 +05:30
Kovid Goyal
d218040d26
A new value for background_image_layout to scale the background image while preserving its aspect ratio.
Also have centered images work even for images larger than the window size
Fixes #6458
2023-07-13 21:33:58 +05:30
Kovid Goyal
97b073fd8c
GNOME: Fix wayland_titlebar_color not being applied until the color is changed at least once
Fixes #6447
2023-07-12 10:38:33 +05:30
Kovid Goyal
9e0e23ae99
macOS: Fix a regression that caused the titlebar to be translucent even for non-translucent windows
Fixes #6450
2023-07-12 10:24:51 +05:30
Kovid Goyal
dc8b6150ca
Update changelog 2023-07-12 07:50:01 +05:30
Kovid Goyal
5f8610f7bc
macOS: Add a new value titlebar-and-corners for :opt:hide_window_decorations that emulates the behavior of hide_window_decorations yes in older versions of kitty 2023-07-11 22:27:47 +05:30
Kovid Goyal
a00b6bd497
macOS: Fix a regression causing *burn-in* of text when resizing semi-transparent OS windows
Fixes #6439
2023-07-11 20:54:47 +05:30
Kovid Goyal
a1e5b72ca5
Remote control launch: Fix --env not implemented when using --cwd=current with the SSH kitten
Fixes #6438
2023-07-11 09:22:15 +05:30
Kovid Goyal
72f283e7f7
macOS: Fix a regression that caused rendering to hang when transitioning to full screen with macos_colorspace set to default
YACOB (Yet Another COcoa Bug)
Fixes #6435
2023-07-10 19:33:25 +05:30
Kovid Goyal
e2b5c6688d
version 0.29.0 2023-07-10 12:46:05 +05:30
Kovid Goyal
a6a3e5e67d
Fix insufficient sanitization of safe strings in file transfer protocol
Change the spec to restrict safe strings further to avoid such bugs in
other implementations. Reported by Edwin Hoffman.
2023-07-08 09:50:28 +05:30
Kovid Goyal
60a7a53ccd
Do not echo invalid DECRQSS queries back, behavior inherited from xterm (CVE-2008-2383)
Reported by David Leadbeater.
2023-07-05 09:48:02 +05:30
Kovid Goyal
70383af59d
Another nvim library to use the kitty graphics protocol 2023-07-04 17:10:57 +05:30
Kovid Goyal
d3f14ffbf4
macOS: Fix window shadows not being drawn for transparent windows
Re-organize the whole infrastructure for setting window chrome, doing it
in a single function that has access to all settings.

Fixes #2827
Fixes #6416
2023-07-04 11:59:50 +05:30
Kovid Goyal
6b3b62c933
Mark that run-shell is available from 0.29 onwards 2023-06-28 10:03:50 +05:30
Kovid Goyal
503d7791e9
Update changelog 2023-06-27 14:58:33 +05:30
Kovid Goyal
0fb1f17af9
Have --hold wait at a shell prompt 2023-06-26 11:21:57 +05:30
Kovid Goyal
01b55a5522
Document the new run-shell kitten 2023-06-26 10:47:13 +05:30
Kovid Goyal
99012d2659
ssh kitten: Allow configuring the ssh kitten to skip some hosts via a new `delegate` config directive 2023-06-24 09:27:53 +05:30
Kovid Goyal
c66e4ced56
Preserve text size during live resize 2023-06-20 19:41:57 +05:30
Kovid Goyal
98c0b56387
Fix #6364 2023-06-15 08:11:37 +05:30
Kovid Goyal
eefb6d76fd
... 2023-06-14 08:12:45 +05:30
olzhasar
d0a5d1b3a4 Fix misspellings 2023-06-14 03:39:53 +06:00
Kovid Goyal
1ccfa8cda6
add path to envvars for cross compilation 2023-06-13 08:22:14 +05:30
Kovid Goyal
08e471c58f
... 2023-06-13 08:21:54 +05:30
Kovid Goyal
88a5086f71
Add rudimentary support for cross-compilation
Not really tested, actual cross compilers, feel free to send patches.
Fixes #6354
2023-06-13 07:56:16 +05:30
Kovid Goyal
498963fc7c
Fix example in docs of using call_remote_control
Fixes #6353
2023-06-10 09:43:41 +05:30
Kovid Goyal
5ef5b5f363
... 2023-06-07 15:56:25 +05:30
Kovid Goyal
cd56597e7e
Remove the resize_draw_strategy option
Use scale + size as the fixed strategy. This is because static looks
bad with translucent windows (the cell area ends up a different opacity
than the newly exposed window area).
2023-06-07 15:36:05 +05:30
Kovid Goyal
21d0522d90
Fix a regression in 0.27.0 that broke setting of specific edge padding/margin via remote control. Fixes #6333 2023-06-04 22:24:48 +05:30
Kovid Goyal
af65b68ac3
Make timestamps.js re-useable 2023-06-01 05:56:02 +05:30
Kovid Goyal
0d9f08f82e
... 2023-06-01 05:31:59 +05:30
Kovid Goyal
5195e45a26
Move video markup into a separate file 2023-05-31 21:48:20 +05:30
Kovid Goyal
b7f136962a
Move the timestamp data into the rst file
Also get rid of the custom styling for the timestamp list
2023-05-31 21:27:09 +05:30
Kovid Goyal
2c8d00f1c4
Add a title to the list of timestamps 2023-05-31 20:59:13 +05:30
Kovid Goyal
bf2c29ad4f
No need to use JS modules just embed the data in timestamps.js 2023-05-31 20:56:22 +05:30
Kovid Goyal
2b3865f74e
Refactor timestamps JS
It is safe to use innerHTML since the strings we are using it with are
under out control
2023-05-31 20:53:03 +05:30
waikoo
9409fff163
Correct css filename 2023-05-31 15:45:56 +03:00
waikoo
329e7039da Add timestamps under introductory video 2023-05-31 15:42:48 +03:00
Kovid Goyal
e0eccf7883
Add a note about develop-docs to the build docs
Also include sphinx-autobuild as a docs dependency
2023-05-29 08:21:08 +05:30
Kovid Goyal
7f6f1f9a5d
Fix a regression in 0.28.0 that caused a buffer overflow when clearing the screen
Fixes #6306
Fixes #6308
2023-05-28 06:27:44 +05:30
Kovid Goyal
624007c7aa
Refuse to read image files in /proc /sys and /dev
Also, open the image file with O_NONBLOCK to ensure we dont hang opening
a FIFO
2023-05-25 12:17:03 +05:30
Kovid Goyal
20fbde447c
clipboard kitten: Dont set clipboard when getting clipboard
The previous behavior meant getting the clipboard would
first empty it if STDIN was null or empty which can easily happen when
run non-interactively.

Fixes #6302
2023-05-25 08:41:55 +05:30
Kovid Goyal
a720ef6917
Graphics: Move images up along with text when the window is shrunk vertically
Fixes #6278
2023-05-24 15:18:58 +05:30
Kovid Goyal
53073f34d7
Cleanup previous PR 2023-05-24 13:31:29 +05:30
Kovid Goyal
0ca94f8a88
Fix #6292 2023-05-20 15:45:08 +05:30
AnonymouX47
de6da31f24
Correct typo in graphics protocol specification
Correct swapped row/column index in description of virtual placements
2023-05-20 10:36:07 +01:00
Chase Colman
d569565fe6 Add awrit to keyboard-protocol 2023-05-13 23:44:18 +08:00
Chase Colman
80de70f7f3 Add awrit to graphics-protocol 2023-05-13 23:44:18 +08:00
Kovid Goyal
65f8bb7397
hints kitten: Switch to using a regex engine that supports lookaround
Note that we loose unicode char matching for --type=word because of
https://github.com/dlclark/regexp2/issues/65 and of course user regexps
cant use \p{N} escapes any more. Hopefully regexp2 will add support for
these soon-ish. IMO lookaround is more important than \p.

Fixes #6265
2023-05-12 12:24:59 +05:30
Kovid Goyal
0cc38e1086
... 2023-05-09 09:50:11 +05:30
Kovid Goyal
e72975cc98
A new escape code that moves the current contents of the screen into the scrollback before clearing it 2023-05-09 09:32:39 +05:30
Kovid Goyal
454acd4f5c
ssh kitten: Fix a regression in 0.28.0 that caused interrupt during setup to not be handled gracefully
Fixes #6254
2023-05-08 16:18:05 +05:30
Kovid Goyal
404f83a277
Add a link to awrit in the integrations page 2023-05-07 10:06:37 +05:30
Kovid Goyal
474244268c
edit-in-kitty: Fix running edit-in-kitty with elevated privileges to edit a restricted file not working 2023-05-07 09:36:16 +05:30
Kovid Goyal
79cd6f38fe
... 2023-05-07 09:24:30 +05:30
Kovid Goyal
537cabca71
kitty +open: Ask for permission before executing script files that are not marked as executable
This prevents accidental execution of script files via MIME type
association from programs that unconditionally "open"
attachments/downloaded files via MIME type associations.
2023-05-07 08:11:39 +05:30
Kovid Goyal
52afc79476
Fix re-using an image id for an animated image for a still image causing a crash
Fixes #6244
2023-05-06 09:37:55 +05:30
Kovid Goyal
87943079fb
Fix #6238 2023-05-03 21:40:42 +05:30
Kovid Goyal
8f96395f74
diff kitten: Fix a regression in 0.28.0 that broke using relative paths as arguments to the kitten
Fixes #6235
2023-05-03 08:34:46 +05:30
Kovid Goyal
1fc4e53bea
hints kitten: Fix a regression in 0.28.0 that broke using sub-groups in regexp captures
Fixes #6228
2023-04-30 21:16:24 +05:30
Kovid Goyal
bc2af4acf9
Update changelog 2023-04-30 09:09:09 +05:30
Kovid Goyal
73f10aaf43
clipboard kitten: Fix a bug causing the last MIME type available on the clipboard not being recognized when pasting with arbitrary MIME types 2023-04-30 06:48:09 +05:30
jaseg
29583411e6
docs/basic.rst: Add resize window shortcut 2023-04-27 12:48:05 +02:00
Kovid Goyal
a7b4d07601
unicode_input kitten: Fix a regression in 0.28.0 that caused the order of recent and favorites entries to not be respected
Fixes #6214
2023-04-26 15:55:56 +05:30
Kovid Goyal
6cc8e67580
Add example code to get screen size in Bash 2023-04-21 15:18:30 +05:30
Kovid Goyal
07bcc5ba61
version 0.28.1 2023-04-21 13:10:01 +05:30
Kovid Goyal
6e90bc1996
... 2023-04-20 21:48:07 +05:30
Kovid Goyal
e4baca6d97
Emphasize that names of custom theme conf files must actual builtin theme names to override them 2023-04-17 08:47:26 +05:30
Kovid Goyal
a09464dee9
Fix a regression in the previous release that broke usage of custom themes
Fixes #6191
2023-04-17 08:45:46 +05:30
Kovid Goyal
91700b3e42
Fix a bug in the Go code of the CSI key event parser
Fixes #6189
2023-04-16 15:31:56 +05:30
Kovid Goyal
39eff0fe8c
Fix a regression in the previous release that broke the remote file kitten
Fixes #6186
2023-04-15 21:04:30 +05:30
Kovid Goyal
b81f457e9b
version 0.28.0 2023-04-15 11:17:36 +05:30
Zaidhaan Hussain
63fff29621 Docs: fix heredoc issue in iplot snippet 2023-04-15 06:44:11 +08:00
Mano Ségransan
0d2a27968b
Add twitch-tui to the list of program that use the kitty graphics protocol 2023-04-11 15:25:32 +02:00
Kovid Goyal
d4c5b8c899
Keyboard input: Fix text not being reported as unicode codepoints for multi-byte characters in the kitty keyboard protocol
Fixes #6167
2023-04-09 22:57:40 +05:30
Kovid Goyal
f250a93715
Fix #6165 2023-04-09 08:48:56 +05:30
Kovid Goyal
3f943998c6
Note that the kitty keyboard protocol can be used in emacs 2023-04-07 08:22:33 +05:30
Kovid Goyal
feb5da70a8
Clean up changelog a bit 2023-04-05 21:12:06 +05:30
Kovid Goyal
c3246051d4
... 2023-04-05 18:08:58 +05:30
Kovid Goyal
dae49d788e
... 2023-04-01 10:51:32 +05:30
Carl Johnson
0afcf5a26b
keyboard-protocol.rst: Add Helix 2023-03-31 14:07:09 -04:00
Kovid Goyal
fa094b2697
Update changelog 2023-03-30 07:24:12 +05:30
Kovid Goyal
3da2a3f60f
Fix table alignment in docs 2023-03-29 21:36:31 +05:30
Kovid Goyal
7169a89591
Add shortcuts for copying to clipboard 2023-03-29 19:56:08 +05:30
Kovid Goyal
e85473cee6
Linux Wayland: Fix animated images not being animated continuously
Fixes #6126
2023-03-27 13:43:37 +05:30
Kovid Goyal
ff55121094
Move the kittens Go code into the kittens folder 2023-03-27 13:06:02 +05:30
Kovid Goyal
d30091034a
Remove the python diff kitten 2023-03-27 11:46:22 +05:30
Kovid Goyal
2ac170c1b1
Allowing using the anchored diff from the Go stdlib as the diff implementation 2023-03-27 07:53:56 +05:30
Kovid Goyal
f046884f23
Allow stopping of URL detection at newlines via url_excluded_characters
Fixes #6122
2023-03-21 08:04:42 +05:30
Kovid Goyal
fda2646dd3
Cleanup previous PR 2023-03-19 10:37:37 +05:30
Kovid Goyal
de74b93b16
Update icon link 2023-03-17 09:19:11 +05:30
Charles McGarvey
4b818244be Add "amd64" as a potential value for "uname -m"
This accommodates FreeBSD and perhaps others.
2023-03-15 19:05:30 -06:00
Jay
5d90544c9d Updated faq with optimized alt icon preview urls 2023-03-12 01:27:34 -05:00
Jay
bea6fdc72e
Added new icons 2023-03-11 19:06:01 -05:00
Kovid Goyal
b76b0c61ed
Port custom processor for hints 2023-03-10 10:45:37 +05:30
Kovid Goyal
672ecde68b
X11: Fix a crash if the X server requests clipboard data after we have relinquished the clipboard
Fixes #5650
2023-03-07 13:53:07 +05:30
Kovid Goyal
2bbf9a4e9b
Wayland KDE: Fix selecting in un-focused OS window not working correctly
Every day, in every way, I fall deeper and deeper in love with Yayland!

Fixes #6095
2023-03-07 11:29:57 +05:30
pagedown
e9f5806dcd
Update to Nerd Fonts 2.3.3 2023-03-04 23:23:52 +08:00
pagedown
823db08712
IME: Right align overlay when typing at the edge of the screen
When the cursor is at the right edge of the screen, push the overlay to
the left to display the pre-edit text just entered.
2023-03-04 16:11:29 +08:00
Kovid Goyal
defac0c061
Implement automatic tmux passthrough for icat 2023-03-04 13:01:23 +05:30
Kovid Goyal
1218a152bf
Implement unicode placeholders in icat 2023-03-04 11:54:22 +05:30
Kovid Goyal
ed8a88e009
Add new unicode placeholder and tmux passthrough options to icat 2023-03-03 22:06:35 +05:30
Kovid Goyal
1bf911a81b
Generate the rowcol diacrticis for Go as well 2023-03-03 14:39:38 +05:30
Kovid Goyal
a7ed47575e
Improve documentation for Unicode placeholders 2023-03-03 12:45:52 +05:30
Kovid Goyal
8add28de96
Merge branch 'pr-unicode-placeholders' of https://github.com/sergei-grechanik/kitty 2023-03-03 10:55:02 +05:30
Kovid Goyal
900111572e
Linux binary installer: Proceed via a staged tmpdir
Now installation on Linux and macOS is similar. installer is first
downloaded, then extracted, then copied to installation location.
2023-03-02 14:13:34 +05:30
Kovid Goyal
fccd776732
Fix overlay windows not inheriting the per-window padding and margin settings of their parents
Fixes #6063
2023-03-01 21:45:17 +05:30
Kovid Goyal
66804dafe8
Fix a regression that broke drawing of images below non-default cell backgrounds
Fixes #6061
2023-03-01 21:13:48 +05:30
Kovid Goyal
8ad39332c9
Merge branch 'hints-kitten-copy-to-buffer' of https://github.com/page-down/kitty 2023-03-01 19:49:52 +05:30
Kovid Goyal
c94401729a
Add protocol docs for async and streaming requests 2023-03-01 19:46:29 +05:30
pagedown
854529c443
hints kitten: Allow copying matches to named buffers 2023-03-01 22:10:24 +08:00
Kovid Goyal
9135ba138e
Merge branch 'ssh' 2023-02-28 12:45:51 +05:30
Kovid Goyal
00b3437a05
Remove python implementation of SSH kitten 2023-02-28 12:42:30 +05:30
James Vaughan
a5a0d5acb9
Fix typo in overview doc 2023-02-27 16:53:44 -08:00
Kovid Goyal
6de77ce987
Clean up exclude pattern handling 2023-02-26 09:12:12 +05:30
Kovid Goyal
5822bb23f0
Work on porting config file parsing to Go 2023-02-26 08:01:01 +05:30
Kovid Goyal
3d3bfe6c75
... 2023-02-26 08:00:50 +05:30
pagedown
126aaddccb
IME: Render overlay at the last visible cursor position with a separate cursor
Fix the problem caused by wrong cursor coordinates. No more messing with
the main cursor, instead the cursor is saved when receiving a pre-edit
text update and used for drawing later.

Update the overlay to the last visible cursor position before rendering
to ensure it always moves with the cursor. Finally, draw the overlay
after line rendering is complete, and restore the line buffer after
updating the rendered data to ensure that the line text being read is
correct at all times.

This also improves performance by only rendering once when changes are
made, eliminating the need to repeatedly disable and draw after various
commands and not even comprehensively.
2023-02-22 22:36:06 +08:00
Sergei Grechanik
d63eeada73 Image placement using Unicode placeholders
This commit introduces the Unicode placeholder image placement method.
In particular:
- Virtual placements can be created by passing `U=1` in a put command.
- Images with virtual placements can be displayed using the placeholder
  character `U+10EEEE` with diacritics indicating rows and columns.
- The image ID is indicated by the foreground color of the placeholder.
  Additionally, the most significant byte of the ID can be specified via
  the third diacritic.
- Underline color can be optionally used to specify the placement ID.
- A bug was fixed, which caused incomplete image removal when it was
  overwritten by another image with the same ID.
2023-02-21 18:23:16 -08:00
pagedown
ba83ce7b10
macOS: Display the newly created OS window in specified state
Fix the maximized window can't occupy full screen space when window
decoration or title bar is hidden.
Fix resize_in_steps being applied even when window is maximized.
Allows to specify `os_window_state` in startup session file.
2023-02-18 14:02:19 +08:00
Kovid Goyal
00e2c66ea3
Add a link to the pets nvim plugin 2023-02-17 10:41:03 +05:30
Kovid Goyal
72b2ba51df
launch: Allow specifying the state (fullscreen/maximized/minimized) for newly created OS Windows
Fixes #6026
2023-02-16 16:24:46 +05:30
Kovid Goyal
3399f40de5
Merge branch 'go-version' of https://github.com/page-down/kitty 2023-02-14 11:15:02 +05:30
Kovid Goyal
5219044519
Merge branch 'reload-mime-types' of https://github.com/page-down/kitty 2023-02-14 09:55:22 +05:30
pagedown
4141872290
When reloading configuration, also reload mime.types 2023-02-12 17:28:42 +08:00
pagedown
c41b65af97
macOS: Update window button visibility after toggling full screen 2023-02-12 13:45:27 +08:00
pagedown
e388326929
... 2023-02-11 20:36:25 +08:00
pagedown
3c7df680cf
Get go version from go.mod
No need to update multiple places when bumping the go version.
2023-02-11 20:33:08 +08:00
Kovid Goyal
2307892b50
Cleanup previous PR getting kitty working on macOS
Do not reduce the required OpenGL version on macOS. There is no point
anyway.

Fixes #2790
2023-02-10 11:03:25 +05:30
Kovid Goyal
ca1a5dcf5e
Update design philosophy to mention Go code 2023-02-10 10:51:16 +05:30
pagedown
81a221460a
Docs: Remind users to remove macos_thicken_font in changelog 2023-02-10 12:46:50 +08:00
pagedown
f8644682f9
... 2023-02-10 12:46:40 +08:00
pagedown
c41a0c0290
Docs: Generate commented default configuration files
Provides the same sample config files as the locally generated ones.
2023-02-10 12:44:10 +08:00
Kovid Goyal
1b580e8323
Update Changelog for last PR 2023-02-10 09:28:33 +05:30
Kovid Goyal
3b861d5f79
Better fix for OGP social cards build failure 2023-02-09 09:45:10 +05:30
Kovid Goyal
679862aa94
When changing the cursor text color via escape codes or remote control to a fixed color, do not ignore cursor_text_color
Fixes #5994
2023-02-08 21:01:00 +05:30
Kovid Goyal
7c8c7fe3a2
launch: When using --cwd=current for a remote system support running non shell commands as well 2023-02-08 17:52:28 +05:30
Kovid Goyal
237a5d17c0
Fix a regression in 0.27.0 that broke kitty @ set-font-size 0
Fixes #5992
2023-02-08 14:21:56 +05:30
Kovid Goyal
4dfd4d4972
sRGB glyph composition: Use default values that give "close to native" rendering. Also use only a single option to control it. 2023-02-08 13:49:53 +05:30
Kovid Goyal
8433f1d731
Update changelog for last PR 2023-02-08 13:03:25 +05:30
Kovid Goyal
9e35d26188
Disable OGP social cards as building them breaks 2023-02-07 17:21:07 +05:30
Kovid Goyal
17e4995e93
version 0.27.1 2023-02-07 16:10:29 +05:30
Kovid Goyal
d06d6d7646
Add the command that can be used to get the default config file 2023-02-03 19:29:45 +05:30
pagedown
370aa3aaa6
Completion: Delegate kitty +complete to kitten
Implement `kitten __complete__ setup` in Go.
Fix zsh completion script to check `kitten`.
2023-02-03 18:16:04 +08:00
Kovid Goyal
27ae9104ac
Bump required Go version to 1.20
This allows us to use the stdlib for ECDH crypto used by remote control.
Fixes #5976
2023-02-03 09:32:56 +05:30
Kovid Goyal
a8480a4ca6
Update changelog for previous PR 2023-02-02 17:51:25 +05:30
Kovid Goyal
a7cbe3776d
Wayland GNOME: Fix for ibus not working when using XWayland
See 8ce25208c3

I dont know what it is with GNOME. Every single release they break
backward compatibility somewhere, somehow. They must have special
talents.

Fixes #5967
2023-02-02 10:25:33 +05:30
Kovid Goyal
a280328731
kitty->kitten typo 2023-02-01 19:11:39 +05:30
Kovid Goyal
5eaa935ede
icat: Dont try to further compress PNG images when using stream based transmission 2023-02-01 11:45:01 +05:30
Kovid Goyal
a73f09cf89
Clarify that a=f is needed for chunked transmission of animation frame data 2023-02-01 11:43:15 +05:30
Kovid Goyal
5c0d477a18
icat kitten: Fix transmission of frame data in direct mode
Sometimes frame data is > 2048 but does not compress smaller, which
broke the if statement checking for first loop.

Fixes #5958
2023-02-01 10:51:59 +05:30
Kovid Goyal
fbbfb25702
Better fix for kitten not being in PATH
Add it to PATH just as we add the kitty dir to PATH. Ensures the correct
kitten is in PATH, corresponding to the correct kitty.
2023-02-01 10:16:50 +05:30
Kovid Goyal
6ea812679f
Fix modify_font not working for strikethrough position
Fixes #5946
2023-02-01 08:14:54 +05:30
Kovid Goyal
5a997a5f7a
grammar 2023-01-31 21:02:58 +05:30
Kovid Goyal
077f71cad5
Another place to update that talks about symlinking to PATH 2023-01-31 20:31:33 +05:30
Kovid Goyal
8f71f6112a
Update installation instructions to note that kitty and kitten both need to be added to PATH 2023-01-31 20:29:41 +05:30
Kovid Goyal
70111d130e
version 0.27.0 2023-01-31 10:48:56 +05:30
Kovid Goyal
9b5034f904
macOS: Integrate with system services 2023-01-29 19:47:50 +05:30