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
Kovid Goyal
f2c8819d25
Add an example for displaying a PNG with bash
2023-01-29 10:27:03 +05:30
pagedown
1e7e10f96f
Docs: Fix mixed tab and space indentation in the example code
2023-01-27 13:39:27 +08:00
Kovid Goyal
5e645a7be7
Fix ssh kitten not working on FreeBSD
...
Apparently on FreeBSD one cannot unlink shared mem if it is not created
with write permissions.
Adding IWRITE to the permissions when creating the shared memory is
harmless. It means any process running as the user can either write to
the file or delete it. Deleting was already possible except on FreeBSD.
As for writing, it's needed on FreeBSD for shared memory to be useable
at all, and since processes running as the user can already completely
access all their data, kitty config files, tty pipes, etc. allowing them
to write to the SHM used here doesnt grant any significant new
capability, since they could just write to ssh.conf in the kitty config
folder to get the ssh kitten to do whatever they like.
Fixes #5928
2023-01-25 23:34:31 +05:30
Kovid Goyal
8f88aab9d2
remove unused code
2023-01-23 17:51:10 +05:30
Kovid Goyal
60791bb57b
Session files: Expand environment variables
2023-01-23 17:34:53 +05:30
pagedown
352f940010
Fix SHELL env var in open-actions.conf and launch-actions.conf
...
Only the executable path is used when expanding `$SHELL`.
Also fix the non-working example `{SHELL}` in the documentation.
2023-01-23 14:15:27 +08:00
Kovid Goyal
e5bc7255b2
...
2023-01-20 07:07:28 +05:30
Kovid Goyal
75048d56bc
...
2023-01-19 07:54:03 +05:30
Kovid Goyal
19f853c29f
Add a note about all the things wrong with modifyOtherKeys
2023-01-18 22:57:56 +05:30
Kovid Goyal
03abbb315a
Fix using cursor=none not working on text that has reverse video
...
Fixes #5897
2023-01-18 09:23:49 +05:30
Ikko Eltociear Ashimine
fd245e894b
Fix typo in overview.rst
...
specifed -> specified
2023-01-17 12:05:46 +09:00
Kovid Goyal
61143557a9
Re-organize the terminfo FAQ entries into a single one
2023-01-16 16:32:35 +05:30
Kovid Goyal
9a77fdcd04
A new option undercurl_style to control the rendering of undercurls
...
Fixes #5883
2023-01-16 14:23:10 +05:30
Kovid Goyal
865fc24975
When reporting unused activity in a window, ignore activity that occurs soon after a window resize
...
Fixes #5881
2023-01-15 09:09:07 +05:30
Kovid Goyal
6b8e5ea225
Rename kitty-tool to kitten
...
It's easier to type, and cuter.
Also, most, if not all of the TUI parts of
kitty's kittens will eventually be re-written into kitten.
The only downside I can see is that we cant tab complete kitty
anymore, but hopefully there will be less reason to run kitty
from the shell as command line tools migrate to kitten.
Meowrrrr!!!
2023-01-14 15:44:52 +05:30
Kovid Goyal
69255f7525
broadcast kitten: Allow pressing a key to stop echoing of input into the broadcast window itself
2023-01-09 17:19:35 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
Kovid Goyal
44866a6e79
Add sample Go code to get screen size
2023-01-07 15:00:51 +05:30
Kovid Goyal
1fe84f6057
Update icat kitten docs
2023-01-07 14:37:32 +05:30
Kovid Goyal
66a2e6f80d
...
2023-01-06 22:06:58 +05:30
Kovid Goyal
77a3916f6f
We need go >= 1.19
2023-01-05 19:41:42 +05:30
Kovid Goyal
5d42d1f955
Remove the old python icat implementation
...
Keep the python backend code as it is used by the diff kitten to display
image diffs.
2023-01-05 19:34:12 +05:30
Kovid Goyal
aab81c2d32
Turn off hyperlink target display by default
...
I find it too intrusive for limited benefit. Most the hyperlinks I
click come from trusted programs anyway.
2023-01-05 15:30:43 +05:30
Kovid Goyal
c03310b5e5
Cleanup previous PR
2022-12-31 14:03:16 +05:30
Kovid Goyal
f831c34813
Update the FAQ on vim with a comprehensive set of settings needed to get it to work with modern terminals
2022-12-30 13:52:08 +05:30
Kovid Goyal
456af90ad2
Remote control: Allow matching for self window even over sockets when run inside a kitty window
...
Have kitty-tool send the value of KITTY_WINDOW_ID if present.
2022-12-30 12:17:31 +05:30
Kovid Goyal
4f9ed6546a
Pass key events mapped to scroll actions to the program running in the terminal when the terminal is in alternate screen mode
...
Fixes #5839
2022-12-30 08:54:31 +05:30
Kovid Goyal
f4ac03b791
Show the target of terminal hyperlinks when hovering over them with the mouse
...
Fixes #5830
2022-12-29 16:43:45 +05:30
Kovid Goyal
cd92d50a0d
Keyboard protocol: Remove CSI R from the allowed encodings of the F3 key as it conflicts with the *Cursor Position Report* escape code
2022-12-24 10:32:28 +05:30
Kovid Goyal
42923ab673
...
2022-12-22 10:19:34 +05:30
Kovid Goyal
b9d098de2d
Update mpv support link to point to the actual merged commit
2022-12-22 07:16:53 +05:30
pagedown
1023084eb9
macOS: Allow to customize Hide, Minimize, and Quit global menu shortcuts
...
All previously hard-coded shortcuts under macOS can be configured now.
2022-12-20 21:08:26 +08:00
Kovid Goyal
e4ee2cf995
Move the alt+left/right binding into zsh integration
...
It works OOTB in bash and fish already.
2022-12-19 11:25:12 +05:30
Kovid Goyal
e3f6f47f10
...
2022-12-19 05:35:18 +05:30
Kovid Goyal
e5941b1b44
Add a link for the vim t_ut issue
2022-12-18 22:32:20 +05:30
Kovid Goyal
65c64d8745
macOS: Bind :kbd:option+left and :kbd:option+right to :kbd:alt+b and :kbd:alt+f. This mimics the default bindings in Terminal.app
...
Fixes #5793
2022-12-18 20:34:42 +05:30
pagedown
74cae7b787
...
2022-12-16 14:27:02 +08:00
Michael
d3f3e9ec38
docs: fix overview.rst
...
add missing `be`, L88
2022-12-16 12:06:25 +08:00
Kovid Goyal
80db167abb
Add mpv to the list of things that speak the graphics protocol
2022-12-14 10:31:56 +05:30
Kovid Goyal
bd70100e09
Fix typo in FAQ
2022-12-10 13:00:09 +05:30
pagedown
52cf443daf
Docs: rg --no-heading has been handled
2022-12-10 15:12:32 +08:00
Kovid Goyal
f03a665e09
Remote control: When matching windows allow using negative id numbers to match recently created windows
...
Fixes #5753
2022-12-10 11:17:55 +05:30
Kovid Goyal
66e7919171
Add a FAQ entry about not being able to use a keybinding in a terminal program
...
I am tired of people asking this same question endlessly. At least now I
can just point them to this link.
2022-12-08 14:16:01 +05:30
pagedown
8c7a5288ae
hyperlinked_grep kitten: Handle more rg command line options
...
Skip for unsupported options.
2022-12-08 14:51:13 +08:00
Kovid Goyal
7fe5c79d53
Also mask signals when SIGNALFD is not available
...
This makes behavior across platforms consistent.
Fixes #4636
2022-12-07 12:25:14 +05:30
Kovid Goyal
ea5ffa4304
...
2022-12-07 10:18:15 +05:30
Kovid Goyal
89b32e4545
Update changelog with clipboard kitten new features
2022-12-07 10:04:02 +05:30
Kovid Goyal
a3ba8647ba
Document the new OSC 5522 protocol
2022-12-06 12:18:55 +05:30
Kovid Goyal
e37ee422b6
...
2022-12-05 07:53:30 +05:30
Kovid Goyal
d7d96c2e7b
When using the include directive in kitty.conf make the environment variable KITTY_OS available for OS specific config
2022-12-04 21:03:24 +05:30
Kovid Goyal
fda4aa21a1
When drawing the tab bar have the default left and right margins drawn in a color matching the neighboring tab
...
Fixes #5719
2022-12-04 20:51:41 +05:30
Kovid Goyal
fe53555dba
Document the additions to the clipboard kitten
2022-12-04 11:37:02 +05:30
Kovid Goyal
fa6527cdf3
add note about how MIME types are detected
2022-12-03 08:35:58 +05:30
Kovid Goyal
f6ab641b00
Clarify the action of CSI < u in Quickstart
2022-11-30 16:28:34 +05:30
pagedown
02b206eeb8
Docs: Slightly adjust the description of tab_title_max_length
...
Note the associated GitHub PR ID in the changelog.
2022-11-30 00:20:32 +08:00
Kovid Goyal
5c50e3869c
Change the new option to limit tab title lengths to apply to the length of the title, as documented, nit the full tab
2022-11-29 17:41:27 +05:30
Kovid Goyal
d6dcdf0751
Merge branch 'tab_max_length' of https://github.com/fratajczak/kitty
2022-11-29 14:59:18 +05:30
Kovid Goyal
11724c8a5f
Terminal end of OSC 5522 read requests
2022-11-29 14:55:40 +05:30
Ferdinand Ratajczak
b6792a6d71
Add option to limit length of tab titles
2022-11-29 09:50:32 +01:00
Kovid Goyal
4c72f92939
Wayland GNOME: Workaround for latest mutter release breaking full screen for semi-transparent kitty windows
...
Destroy the CSD surfaces when window goes full screen.
Fixes #5677
2022-11-28 14:19:13 +05:30
pagedown
55b5a45e27
Docs: Fix missing backslashes
2022-11-25 12:03:34 +08:00
zeertzjq
daeb1b6c50
Add note about Vim's support for kitty keyboard protocol
2022-11-24 11:30:40 +08:00
Kovid Goyal
c0d06adcb5
New sleep action
...
useful in combine based mappings to make kitty sleep before executing the next action
2022-11-22 21:45:19 +05:30
Kovid Goyal
51bba9110e
Bash integration: Fix clone-in-kitty not working on bash >= 5.2 if environment variable values contain newlines or other special characters
...
Bash >= 5.2 changed the export command to output values using $' escaping when they contain special characters.
Fixes #5629
2022-11-22 16:38:24 +05:30
pagedown
73b5857916
Keep two blank lines between each version in the changelog
2022-11-21 12:21:13 +08:00
pagedown
08d74a6c56
Add an option to control background image tinting for window gaps
2022-11-21 12:21:06 +08:00
Kovid Goyal
a6dcbe9c1d
...
2022-11-17 20:51:01 +05:30
Kovid Goyal
efaf9faa38
Implement edit-in-kitty using kitty-tool
...
Fixes #5546
Fixes #5630
2022-11-17 20:48:20 +05:30
Kovid Goyal
d9215feda5
Allow using the cwd of the original process for launch --cwd
...
Fixes #5672
2022-11-15 22:18:19 +05:30
Kovid Goyal
9ddd7d070e
Add a note to changelog about kitty @ speed improvements
2022-11-15 12:05:59 +05:30
Kovid Goyal
737919505d
Update docs to mention kitty-tool
2022-11-14 20:58:24 +05:30
Kovid Goyal
8807f6d539
Code to get exe name for usage message
2022-11-14 15:42:00 +05:30
Kovid Goyal
54ec486d3a
Now completion for hyperlinked_grep is automatic thanks to delegation
...
Also fix delegation for zsh when the command being completed differs
from the current command.
2022-11-14 15:42:00 +05:30
Kovid Goyal
a939bbb3ec
...
2022-11-14 15:41:51 +05:30
Kovid Goyal
f90753c69b
Use whatever version of go is available on CI
2022-11-14 15:41:46 +05:30
Kovid Goyal
1b8805bc6f
document we need go >= 1.19
2022-11-14 15:41:44 +05:30
Kovid Goyal
083deec663
Build kitty-tool via the build system
2022-11-14 15:41:44 +05:30
Kovid Goyal
72f92b395f
version 0.26.5
2022-11-07 15:36:42 +05:30
Kovid Goyal
10ad56885e
Properly specify semantics of active and focused
...
active means active in parent. focused means actually has keyboard
focus.
2022-11-04 10:38:18 +05:30
Kovid Goyal
935c4ded6b
Remote control: When matching window by state:focused match the window belonging to the OS window that was last focused
...
Fixes #5602
2022-11-03 21:52:20 +05:30
Kovid Goyal
f5de08d5fa
Splits layout: Add a new mappable action to move the active window to the screen edge
...
Fixes #5643
2022-11-03 17:40:04 +05:30
Kovid Goyal
458ac6953f
Update changelog for last PR
2022-11-01 12:21:09 +05:30
Kovid Goyal
00324c96fc
...
2022-10-31 22:09:01 +05:30
Kovid Goyal
2435a8ccfd
Wayland GNOME: Fix incorrect window size when in some circumstances when switching between windows with window decorations disabled
...
Only call wl_surface_commit() after a resize when the correct size buffer is
attached to the surface. This is ensured by setting a flag on the window that prevents
all surface commits till it is cleared. The flag is cleared at next
eglSwapBuffers().
I dont actually understand if this guarantees that the
buffer size is always correct. For example, if the back buffer is
latched when wl_egl_resize_window() is called, the backbuffer will be
correct only after two swaps (I think). Or maybe the old back buffer is
discarded, I cant find any documentation about it.
All I can say is that doing it this way seems to fix the issue.
Thanks to @jadahl for his help with tracking down the root cause.
Fixes #4802
2022-10-31 21:59:01 +05:30
Kovid Goyal
16b322616a
Fix cursor position at x=0 changing to x=1 on resize
...
Fixes #5635
2022-10-31 08:03:42 +05:30
Kovid Goyal
1747bbbbcb
ssh kitten: Allow using absolute paths for the location of transferred data
...
Fixes #5607
2022-10-19 20:43:53 +05:30
Kovid Goyal
4f90110a7c
Fix ghosting when using background_tint under GNOME+Wayland
...
The problem was that on Wayland if the buffer contains pixels with alpha
< 1 they are blended with something, even if the window is opaque. Under
mutter that something was the previous frame, under sway it was the
background/whatever is under the window.
So when blending the tint color, use a blend mode that results in opaque
pixels.
Fixes #5605
2022-10-19 19:02:05 +05:30
Kovid Goyal
f5126c664c
Wayland KDE: Fix abort when pasting into Firefox
...
Dunno why kwin uses drag and drop callbacks when pasting into Firefox on
Wayland, but then this is Wayland, so every stupid thing imaginable will
be done at least once.
Fixes #5603
2022-10-19 11:28:33 +05:30
Kovid Goyal
0f340086c0
Fix resize_draw_strategy=static
...
The text is now static again but the background image is still scaled, cant be
bothered about that. Fixes #5601
2022-10-19 08:26:31 +05:30
Kovid Goyal
5c34f16ab4
Fix #5600
2022-10-19 07:45:27 +05:30
Kovid Goyal
55b53bcac6
version 0.26.4
2022-10-17 08:18:51 +05:30
Kovid Goyal
6890e265b6
GNOME Wayland: Fix a memory leak in gnome-shell when using client side decorations
...
destroy CSD buffers that were never attached explicitly, as mutter does
not send release events for these even when the pool is destroyed.
2022-10-12 17:52:47 +05:30
Cédric Bosdonnat
d63be90a7f
Recommend using --cwd=current in open-actions.conf
...
Editors like Vim are basing path-related commands on the current working
directory. Launching the action with the current CWD in hyperlink opens
makes life easier and would work with every editor.
2022-10-10 10:12:20 +02:00
Mark Sisson
ca24e9ca67
change linux_package build instructions to use make target
2022-10-09 00:02:38 -05:00
Kovid Goyal
fbfaefd72a
Wayland: Fix an abort when changing background colors with wayland_titlebar_color set to background
...
Fixes #5562
2022-10-07 14:13:12 +05:30
Kovid Goyal
ae8f3de070
Allow centering the background image
...
Fixes #5525
2022-10-04 08:26:28 +05:30
Kovid Goyal
4d80427908
Wayland: Fix background image scaling using tiled mode on high DPI screens
2022-10-03 21:49:52 +05:30
Kovid Goyal
cf22729dfa
Fix background_tint not applying to window margins and padding
...
Fixes #3933
2022-10-03 21:39:57 +05:30
Kovid Goyal
647b18d345
Tab bar: Improve empty space management when some tabs have short titles, allocate the saved space to the active tab
...
Fixes #5548
2022-10-03 13:24:21 +05:30
chencheng (云谦)
52c9b5f5b8
Update custom.css
2022-09-30 08:44:09 +08:00
pagedown
13a3c6b5b2
Update to Unicode 15.0
2022-09-29 10:13:21 +08:00
pagedown
fc15b20f24
Update to Nerd Fonts 2.2.2
2022-09-29 10:13:10 +08:00
Kovid Goyal
901e00cab1
Cleanup previous PR
...
1) Dont use deprecated code
2) Always set the dock icon on startup as the dock icon doesnt change
till the dock is restarted
3) Update the app icon automatically if the mtime on the custom icon in
the config dir is newer than the mtime of the sentinel file apple
puts inside the application bundle to indicate it has a custom icon
2022-09-25 18:11:17 +05:30
Kovid Goyal
d0769f3979
...
2022-09-25 17:36:32 +05:30
pagedown
a1029418f8
macOS: Allow to set custom app icon automatically
2022-09-25 15:25:43 +08:00
pagedown
27ea367123
Docs: Remove the extra backslashes from the install commands
2022-09-24 12:39:05 +08:00
Kovid Goyal
42178a4570
X11: Fix a regression in the previous release that caused pasting from GTK based applications to have extra newlines
...
Fixes #5528
And let me just re-iterate, GNOME/GTK is developed by morons.
2022-09-24 08:56:50 +05:30
Kovid Goyal
dbb97a62bf
version 0.26.3
2022-09-22 13:48:20 +05:30
Kovid Goyal
13cf38d6c6
Update changelog
2022-09-17 18:21:28 +05:30
Kovid Goyal
bcd78c3940
Fix a regression that caused kitty not to restore SIGPIPE after python nukes it when launching children. Affects bash which does not sanitize its signal mask.
...
Fixes #5500
2022-09-13 07:51:32 +05:30
Kovid Goyal
dcf2152a7a
Wayland: Generate a XDG_ACTIVATION_TOKEN when opening URLs or running programs in the background via the launch action
2022-09-11 14:25:49 +05:30
Kovid Goyal
4d30ae55f3
Wayland: Mark windows in which a bell as urgent on compositors that support the xdg-activation protocol
2022-09-11 09:33:41 +05:30
Kovid Goyal
29b3a92ffc
Wayland: swap buffers immediately on scale change to ensure attached buffer is a multiple of the new scale
...
Earlier we were only swapping buffers when ready to draw, but the
Wayland protocol requires the attached buffer to be a multiple of the
scale. We cannot guarantee an application side swap will be triggered
before the next commit, so instead we blank the new buffer swap it in
the GLFW backend itself.
Fixes #5467
2022-09-10 15:09:46 +05:30
Kovid Goyal
5272318d67
Update changelog
2022-09-10 12:10:30 +05:30
Kovid Goyal
5ba887ff68
Wayland: Fix for bug in NVIDIA drivers that prevents transparency working
...
Fixes #5479
2022-09-10 11:57:18 +05:30
Kovid Goyal
6741ac2087
Sessions: Allow controlling which OS Window is active via the focus_os_window directive
2022-09-10 08:27:36 +05:30
Kovid Goyal
89570d3b52
ssh kitten: Fix KITTY_PUBLIC_KEY not being encoded properly when transmitting
...
Fixes #5496
2022-09-10 07:09:58 +05:30
Kovid Goyal
b123c21010
Update changelog
...
Fixes #5483
2022-09-09 13:13:58 +05:30
Kovid Goyal
5bdf27fd78
version 0.26.2
2022-09-05 10:49:50 +05:30
Kovid Goyal
f05783e64d
Sanitize notifications ids as they are retransmitted over the TTY
2022-09-05 10:41:19 +05:30
Kovid Goyal
b60d9f73ce
Wayland: Fix remembering window size not accurate when client side decorations are present
2022-09-04 14:25:04 +05:30
Kovid Goyal
607bc845fc
Allow creating overlay-main windows, which are treated as the active window unlike normal overlays
...
Fixes #5392
2022-09-03 19:04:31 +05:30
Kovid Goyal
4b81e4936e
launch: Allow setting the margin and padding for the newly created window
...
Fixes #5463
2022-09-02 19:41:05 +05:30
Kovid Goyal
9cec924f32
hints kitten: Allow using launch as the program to run, to open the result in a new kitty tab/window/etc.
...
Fixes #5462
2022-09-02 16:23:00 +05:30
Kovid Goyal
0f7ced25c1
...
2022-09-01 13:55:48 +05:30
pagedown
95f1a971b2
Docs: Mention clear_all_shortcuts in the FAQ about show_key kitten
2022-09-01 15:35:17 +08:00
Kovid Goyal
7968c88c67
...
2022-09-01 07:54:36 +05:30
Kovid Goyal
992e90b0a3
Fix a regression in 0.26.0 that broke mapping of native keys who key codes did not fit in 21 bits
...
Fixes #5452
2022-08-31 22:19:51 +05:30
Kovid Goyal
afada84f52
Cleanup previous PR
...
Use wcswidth() for line width calculation. Works with emoji and ignores
escape codes automatically. Add changelog entry.
2022-08-31 08:01:52 +05:30
Kovid Goyal
d8e43a3412
macOS: Fix regression in 0.26.0 that caused asking the user for a line of input such as for set_tab_title to not work
...
Apparently libedit doesn't work in the forked process when the parent
process is run via Launch Services. I cant be bothered to investigate
why, given that libedit is closed source. macOS users will just have to
live without history/completion in the ask kitten until I get around to
writing a replacement for readline/libedit.
And on a personal note, macOS >> Necrotizing fasciitis
Fixes #5447
2022-08-30 16:45:14 +05:30
Kovid Goyal
6604e0d015
Fix regression in 0.26.0 that caused launching kitty without working STDIO handles to result in high CPU usage and prewarming failing
...
Fixes #5444
2022-08-30 08:15:13 +05:30
Kovid Goyal
bb2ec9cde7
...
2022-08-30 07:50:36 +05:30
Kovid Goyal
89a2545855
Cleanup previous PR
...
Allow disabling hyperlinking of rg output. Also parse
--kitten=hyperlink=... form of CLI args.
2022-08-30 07:41:14 +05:30
Kovid Goyal
49f8c0eae6
Merge branch 'hyperlinked-grep-only-matches' of https://github.com/groves/kitty
2022-08-30 06:59:53 +05:30
Kovid Goyal
268d687814
version 0.26.1
...
Bloody macOS. I have better things to do that play whack-a-mole with all
the bug reports caused macOS not bothering to set LANG.
2022-08-30 01:04:42 +05:30
Charlie Groves
db5b4da388
Add options for linking different parts of ripgrep output
2022-08-29 13:23:42 -04:00
Kovid Goyal
71f8e50460
Update changelog
2022-08-29 21:01:59 +05:30
Kovid Goyal
22fbdbca40
Fix a regression in 0.26.0 that caused kitty to no longer set the LANG environment variable on macOS
...
Happened because reading the locale uses cocoa APIs and they are not fork
safe, so it was moved to after prewarm forking, but at that point the
default child env had already been set.
Fixes #5439
2022-08-29 20:58:48 +05:30
Kovid Goyal
c68b82e4d0
ssh kitten: Fix executable permission missing from kitty bootstrap script
...
Fixes #5438
2022-08-29 18:20:09 +05:30
Kovid Goyal
16a4845a72
version 0.26.0
2022-08-29 05:05:11 +05:30
Charlie Groves
8c7968a4d6
Describe --hyperlink-only-matches in the docs
2022-08-28 07:02:39 -04:00
Kovid Goyal
fba759a47c
missed some at_ -> at-
2022-08-28 12:04:00 +05:30
Kovid Goyal
3bcb694b1b
Switch over to at-cmd form for references.
...
Sphinx anyway converts at_cmd to at-cmd for anchors in HTML so using at-cmd
consistently.
2022-08-28 11:54:32 +05:30
Kovid Goyal
c856d5c058
Fix hyperlinks not present when fetching text from the history buffer
...
Fixes #5427
2022-08-28 08:54:53 +05:30
Kovid Goyal
098dd10789
...
2022-08-24 14:42:40 +05:30
Kovid Goyal
b5fa643c5d
Allow ignoring failures when mapping remote control commands
2022-08-24 14:21:54 +05:30
Kovid Goyal
b7a4281985
Allow ignoring failure to close windows/tabs via rc commands
2022-08-24 14:13:31 +05:30
Kovid Goyal
9e9aa52553
Ensure extract_rt_targets is run only once per build
2022-08-24 14:00:44 +05:30
Kovid Goyal
214416f1e3
Fix handling of :doc: in CLI help output
2022-08-24 13:43:47 +05:30
pagedown
9a70709bba
Shorten the reference link to the top of the page
...
Reduce the length of the link :ref:`shell_integration` in commented conf.
2022-08-24 13:27:19 +08:00
pagedown
c437a36794
Fix GitHub links in commented configuration
...
Hyperlink GitHub related text roles: iss, pull, disc
2022-08-24 13:27:12 +08:00
pagedown
0e0578ff49
Docs: Use --help long option name in the document
...
Remove the extra empty line in the CLI help for `--replay-commands`.
2022-08-24 13:27:06 +08:00
Kovid Goyal
8d6a3cff25
Fix docs build error
2022-08-20 16:26:49 +05:30
Kovid Goyal
2efb8f6dc2
Create an API to easily use remote control commands from kittens
2022-08-20 16:19:16 +05:30
Kovid Goyal
31f763282f
Document the show help shortcut
2022-08-20 14:03:16 +05:30
Kovid Goyal
39434fb1f6
A new default shortcut to show the kitty documentation
2022-08-20 13:55:10 +05:30
Kovid Goyal
44ccdd36d6
Remove socket prewarming
...
The potential for breakage is too high, and I am working on an
alternative solution that will be better long term.
Prewarming is still used for kittens launched via keybindings
2022-08-20 13:38:33 +05:30
Kovid Goyal
329043ba08
Cleanup build documentation
...
Note how to build the kitty docs wherever needed instead of in a
separate section
2022-08-20 12:09:36 +05:30
Kovid Goyal
6aa3405c78
Clean up build docs a bit
2022-08-20 08:13:42 +05:30
Kovid Goyal
314dd97059
Command line tools shouldnt need to resolve documentation refs
...
Instead use a new kitty+doc protocol and have kitty navigate to the
docs. Uses a default open action for the protocol, which can be
overriden by the user should they so desire.
2022-08-19 14:35:17 +05:30
Kovid Goyal
0b66f20934
Fix mapping of ref targets with underscores
2022-08-19 14:34:25 +05:30
Kovid Goyal
aba634ce88
Fix building of docs on macOS without warnings
...
--detach doesnt exist on macOS
2022-08-19 14:16:28 +05:30
Kovid Goyal
5350eb29c1
A new mappable action to show kitty docs in the browser
2022-08-19 14:00:30 +05:30
Kovid Goyal
8745c4cd4a
Make the kitty man pages automatically available inside kitty when using a binary build
2022-08-19 12:59:10 +05:30
Kovid Goyal
5deed81737
Dont maintain ref_map manually
2022-08-19 11:20:50 +05:30
pagedown
040ff0cc9d
For running the new code KITTY_PREWARM_SOCKET needs to be dropped
2022-08-18 17:06:07 +08:00
pagedown
b01ad4bb3b
...
2022-08-18 17:05:35 +08:00
pagedown
0f4cb1955f
Use the plus sign to connect shortcut keys consistently
2022-08-18 17:05:00 +08:00
Kovid Goyal
2898a3ef8c
Some documentation cleanup
2022-08-17 06:48:33 +05:30
Kovid Goyal
d0c50248ea
Graphics protocol: Only delete temp files if they have the string tty-graphics-protocol in their file paths.
...
This prevents deletion of arbitrary files in /tmp via the graphics
protocol.
2022-08-16 11:25:33 +05:30
Kovid Goyal
df3846fbb8
Add instructions on how to install the man pages under desktop integration
2022-08-12 23:33:06 +05:30
Kovid Goyal
d73ceb26ae
Use the RFC as the reference for base-85 encoding
2022-08-12 15:38:28 +05:30
Kovid Goyal
da9ffc9b93
Allow using IV and tags longer than the minimum lengths
2022-08-12 13:21:57 +05:30
Kovid Goyal
f42d2c63a6
Add type annotations to rc protocol field definitions
2022-08-11 22:14:33 +05:30
Kovid Goyal
6be3ae9efc
Start work on standalone remote control script
2022-08-11 21:05:04 +05:30
Kovid Goyal
b2d8f24499
Clean up the text a bit
2022-08-11 07:47:15 +05:30
Kovid Goyal
12c99741a0
Add an example of restricting the launch command
2022-08-11 07:35:18 +05:30
Kovid Goyal
91dbcf4df0
Link to encryption spec
2022-08-11 07:29:56 +05:30
Kovid Goyal
6ebd82a84c
Note which version remote_control_password was added
2022-08-11 06:52:37 +05:30
Kovid Goyal
c07178f43a
Avoid transmitting the currently un-needed enc_proto
2022-08-11 06:48:35 +05:30
Kovid Goyal
78a5957863
Highlight the JSON blocks appropriately
2022-08-11 06:46:42 +05:30
Kovid Goyal
cd6882d21e
...
2022-08-11 06:40:44 +05:30
Kovid Goyal
926a2828ab
5 minutes does not actually prevent replay just minimise it
2022-08-11 06:38:59 +05:30
Kovid Goyal
daa7df96d1
...
2022-08-11 06:38:04 +05:30
Kovid Goyal
84ca83ef69
Document the encryption used by remote_control_password
2022-08-11 06:35:25 +05:30
Kovid Goyal
ac9c85e783
Add a note about password auth over SSH
2022-08-11 06:08:28 +05:30
Kovid Goyal
331f6d4903
Document remote_control_password more thoroughly
...
Also ignore failures in custom auth functions
2022-08-11 05:58:02 +05:30
Kovid Goyal
fe598bac8a
Quote ^ as it is a special char in some shells
2022-08-10 17:39:05 +05:30
Kovid Goyal
1a643441f3
Make the kitty public key available as an env var to child processes
2022-08-10 12:36:04 +05:30
Kovid Goyal
e9823eb40c
Cleanup previous PR
2022-08-09 08:54:47 +05:30
Kovid Goyal
2a5922ce92
Cleanup previous PR
...
The reason maxsplit is 1 is because some layout action in the future may need more
sophisticated args processing, for example, shlex.split() instead of
plain split(), or even a full command line parser.
2022-08-05 08:12:05 +05:30
Steven Moazami
adfcbb004f
Add layout_action to change bias on tall layout
...
Can specify 1 bias to toggle between that and 50%.
Can specify multiple biases to rotate through them with each call to the
layout_action.
Left a comment regarding working around either a possible bug or a
design decision.
2022-08-04 19:29:17 -04:00
Fredrick Brennan
81b33f1f6f
Document how to build docs
2022-08-04 11:12:04 -04:00
Kovid Goyal
795b32efd7
Bash integration: Fix the inherit_errexit option being set by shell integration
...
Fixes #5349
2022-08-04 16:23:52 +05:30
Tom Faulkner
4ef17edace
Fix doc typo: throught to throughout
...
Just a typo in the docs. Kitty is great, thanks for all the hard work.
2022-08-03 23:52:00 +00:00
Kovid Goyal
a9a9f1ac00
Add a mappable action to toggle the mirrored setting for the tall and fat layouts
...
Fixes #5344
2022-08-03 22:45:38 +05:30
Kovid Goyal
fd6bc55db6
Start work on implementing public key crypto
...
Will come in handy for various things in the future, so lets just setup
the API now. No new dependencies are needed since Python already depends
on OpenSSL.
2022-08-03 22:37:35 +05:30
Kovid Goyal
2271eb5e60
Document KITTY_PREWARM_SOCKET_REAL_TTY
2022-08-02 08:38:07 +05:30
Kovid Goyal
784daa1a4b
Update changelog for socket prewarm
2022-08-01 19:03:03 +05:30
Kovid Goyal
39bb0ecfcf
more work on socket based prewarm
2022-08-01 19:02:57 +05:30
Kovid Goyal
e2117ee8a4
ssh kitten: Allow completion of ssh options between the destination and command
...
This contravenes the documented command line parsing behavior of ssh but
matches its actual implementation. Sigh.
Fixes #5322
2022-07-29 08:29:49 +05:30
Kovid Goyal
352c07987b
Nicer fix for showing cwd in tab titles
2022-07-26 12:35:07 +05:30
pagedown
28ae8c4d20
Expand ~ when resolving editor path and applying exe_search_path
2022-07-26 13:21:50 +08:00
pagedown
fa670e1f5d
...
2022-07-26 13:20:41 +08:00
Kovid Goyal
54d2f06abe
remote files kitten: Fix working with files whose names have characters that need to be quoted in shell scripts
...
Fixes #5313
2022-07-26 08:06:25 +05:30
Kovid Goyal
29b3d49cd5
Note that the crossterm library has added support for the kitty keyboard protocol
2022-07-26 07:45:57 +05:30
Kovid Goyal
fe8892ec54
Update changelog for previous PR
2022-07-21 20:03:46 +05:30
Kovid Goyal
7215c6d6be
ssh kitten: Allow pressing Ctrl-C to abort ssh before the connection is completed
...
Fixing this involved adding a new mode to kitty where it handles
ctrl-c/z/q by sending signals to the tty foreground process group
instead of delegating to the kernel to do that. Since the pipe may be
full we have no way of knowing when the kernel will get around to
reading the signal byte. So send the signal ourselves.
Fixes #5271
2022-07-20 19:11:14 +05:30
Kovid Goyal
32588939ae
Deprecate the adjust_baseline adjust_line_height and adjust_column_width options in favor of modify_font
...
Unifies handling and allow using pt units for those adjustments.
Note that the behavior of percentage sizes for adjust baseline is
backwards incompatible. It now uses the baseline value as the base
rather than the cell height.
2022-07-15 15:29:42 +05:30
Kovid Goyal
a02e07bfe8
Add modify_fonts to the changelog
...
Fixes #5265
2022-07-15 12:29:08 +05:30
pagedown
512db660a1
macOS: Fix unable to open new tab/window when there is no OS window
2022-07-14 18:25:00 +08:00
Kid
ef4e784121
Fix link formatting in docs
2022-07-09 16:00:51 +08:00
Kovid Goyal
1ead20a5b9
Add a GitHub icon to the docs footer
2022-07-08 20:36:32 +05:30
Kovid Goyal
d6492264c7
Bash integration: Fix declare not creating global variables in .bashrc
...
Fixes #5254
2022-07-08 18:55:04 +05:30
Kovid Goyal
a8b756f040
ssh kitten: A new option :code:--symlink-strategy to control how symlinks are copied to the remote machine
...
Fixes #5249
2022-07-03 14:03:56 +05:30
Kovid Goyal
4ed413eaa7
Switch to GA2
2022-06-30 17:00:14 +05:30
Kovid Goyal
86357d2c38
...
2022-06-29 18:53:11 +05:30
Kovid Goyal
c0d4d01b88
...
2022-06-29 18:41:39 +05:30
Kovid Goyal
b3fcb53625
ssh kitten: Allow ssh kitten to work from inside tmux, provided the tmux session inherits the correct KITTY env vars
...
Fixes #5227
2022-06-29 18:40:22 +05:30
Kovid Goyal
4f8ef05058
Linux: Update cursor position after all key presses not just pre-edit text changes
...
Fixes #5241
2022-06-29 11:37:35 +05:30
Kovid Goyal
295fbe42ad
Merge branch 'misc' of https://github.com/page-down/kitty
2022-06-28 11:42:37 +05:30
Kovid Goyal
60d33f2847
Wayland: Reduce flicker at startup by not using render frames immediately after a resize
...
Fixes #5235
2022-06-28 11:29:57 +05:30
pagedown
617115d447
Docs: edit-in-kitty works with neovim
2022-06-28 11:22:52 +08:00
Kovid Goyal
31f9978599
Merge branch 'patch-1' of https://github.com/AnonymouX47/kitty
2022-06-27 15:54:23 +05:30
My Avatar ;D
dc068c16e8
Update projects using kitty graphics protocol
...
Add `term-image` to the list of projects using the kitty graphics protocol.
2022-06-27 10:35:39 +01:00
Kovid Goyal
89626a462f
...
2022-06-25 20:46:02 +05:30
Kovid Goyal
a043588b4a
Update changelog for last PR
2022-06-25 16:50:46 +05:30
Kovid Goyal
8ce80e39d9
kitty now needs python >= 3.8
2022-06-24 00:01:35 +05:30
Kovid Goyal
17f67fbe28
Add a note that WezTerm implements the kitty keyboard protocol as well
2022-06-23 11:22:01 +05:30
Samuel Holmes
666696d142
Add "modern whiskers" alternative icon to FAQ
2022-06-21 11:04:24 -07:00
Kovid Goyal
f95bc48f9b
kitty @ set-colors: Fix changing inactive_tab_foreground not working
...
Fixes #5214
2022-06-19 20:20:58 +05:30
Kovid Goyal
d226e82f68
It is only possible to not have an OS Window on macOS
2022-06-19 09:39:40 +05:30
pagedown
1ac90cf464
Allow remote control to launch a new OS window when there is none
2022-06-19 11:51:58 +08:00
Kovid Goyal
a89e1b5573
Fix horizontal wheel events not being reported to client programs when they grab the mouse
...
Fixes #2819
2022-06-18 06:47:42 +05:30
Kovid Goyal
1d846f3744
Cleanup previous PR
...
Merge branch 'session-resize-window' of https://github.com/sirno/kitty
2022-06-14 19:59:01 +05:30