pagedown
2f292bb5d2
DRYer
2022-12-10 15:13:19 +08:00
Kovid Goyal
1289dd2ff0
Cleanup previous PR
2022-12-08 13:30:54 +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
a3ba8647ba
Document the new OSC 5522 protocol
2022-12-06 12:18:55 +05:30
Kovid Goyal
fe53555dba
Document the additions to the clipboard kitten
2022-12-04 11:37:02 +05:30
Kovid Goyal
b644a42a48
Allow using wildcard mime types when copying from clipboard
2022-12-03 14:06:16 +05:30
Kovid Goyal
6422b323c6
Implement MIME aliases for clipboard
2022-12-03 12:20:03 +05:30
Kovid Goyal
f29ce19097
Reading arbitrary MIME from clipboard now works
2022-12-01 13:35:44 +05:30
Kovid Goyal
375fa73826
Delegate kitty +kitten clipboard to kitty-tool
2022-11-26 20:09:43 +05:30
pagedown
6a1b456bac
DRYer: Get hostname
2022-11-26 16:08:40 +08:00
Kovid Goyal
4d3f3b5e91
Start moving clipboard kitten to kitty-tool
2022-11-25 12:58:10 +05:30
pagedown
a131f9a82e
Refactor: Use a consistent name for beam cursor shape
2022-11-19 10:34:50 +08:00
pagedown
76669ad14d
Note the Unicode version in the generated files
...
Files generated from the same Unicode version will be consistent
regardless of the date they were built.
2022-11-18 13:01:32 +08:00
Kovid Goyal
e5e8cc72c6
Make the Unicode database version used available
2022-11-17 20:11:50 +05:30
Kovid Goyal
16775c5539
ssh kitten: Add a kitty-tool wrapper script to auto-download and use kitty-tool
...
Needs testing.
2022-11-15 13:26:48 +05:30
Kovid Goyal
018811c96c
Remove unused code
...
Completion and remote control have moved into kitty-tool
2022-11-14 15:42:09 +05:30
Kovid Goyal
6b04c42730
update wcswidth go version to match unicode 15 update in master
2022-11-14 15:42:03 +05:30
Kovid Goyal
97716fea8b
More work on merging completions with parse tree
2022-11-14 15:42:02 +05:30
Kovid Goyal
928a4db817
Implement delegate based completion fof the ssh and hyperlinked_grep kittens
2022-11-14 15:41:59 +05:30
Kovid Goyal
7737369fc9
Add completion for the kittens
2022-11-14 15:41:58 +05:30
Kovid Goyal
3847837bd0
Forgot to run gen-config.py
2022-10-19 20:50:53 +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
pagedown
13a3c6b5b2
Update to Unicode 15.0
2022-09-29 10:13:21 +08:00
Kovid Goyal
98eacb2067
panel kitten: Do not depend on xprop
2022-09-24 15:44:54 +05:30
Kovid Goyal
2cef9abbd3
Get rid of one call to xprop in the panel kitten
2022-09-24 15:17:11 +05:30
Kovid Goyal
b247759d30
DRYer
2022-09-11 13:15:42 +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
7e1380cc0d
Start work on giving GLFW a proper clipboard API
2022-09-08 12:45:34 +05:30
Kovid Goyal
5bf5454dbe
Nicer fix for #5469
2022-09-04 22:15:17 +05:30
Kovid Goyal
31fe35cd38
Fix #5469
2022-09-04 13:58:16 +05:30
Kovid Goyal
295743a96e
Fix ref to launch doc
2022-09-02 16:31:21 +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
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
Trygve Aaberge
03720402a7
Fix hints sometimes matching next line as part of URL
...
For URLs where there's fewer characters left to the right edge of the
window than the number of escape characters in the line, the next line
would be included in the URL, as if the URL went all the way to the
right edge.
For example with a 40 chars wide terminal, if you run:
echo -e '\e[31m1\e[m https://github.com/kovidgoyal/kitty\ntest '
And launch the hints kitten, you'll see that test on the next line will
be included in the URL.
This happened because the calculation for filling the rest of the line
with NUL characters counted the escape characters as well as the visible
characters, so it filled in too few characters.
This is a regression introduced in commit 91966712.
2022-08-30 22:24:58 +02:00
Kovid Goyal
fca0999814
Eureka! Figured out why libedit is breaking in prewarm on macOS via launchd
...
The prewarm zygote imports the world. shell.py had a top level import
for readline. Which means readline was being imported pre-fork. And of
course as is traditional with Apple libedit is not fork safe. Probably
because it initializes its internal IO routines based on the stdio
handles at time of import which are the handles kitty gets from launchd
2022-08-30 19:35:17 +05:30
Kovid Goyal
78056c659c
Another place we cant use readline on macOS
2022-08-30 19:27:55 +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
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
Charlie Groves
db5b4da388
Add options for linking different parts of ripgrep output
2022-08-29 13:23:42 -04:00
Charlie Groves
f5a70adf0b
Add a --hyperlink-only-matches flag to hyperlinked_grep
...
If it's active, only matching lines get links, not file headers or context lines.
2022-08-26 17:05:50 -04:00
Kovid Goyal
e330c38d4a
ssh kitten: Delegate to ssh when -T is used
...
Fixes #5411
2022-08-24 15:23:41 +05:30
pagedown
0f4cb1955f
Use the plus sign to connect shortcut keys consistently
2022-08-18 17:05:00 +08:00
Kovid Goyal
bfcd324993
ask kitten: allow having hidden text in the message
2022-08-16 13:57:58 +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
6961845167
ask kitten: fix button click area offset vertically
2022-08-16 10:35:51 +05:30
Kovid Goyal
cd3eeb7a95
Center choice message correctly when it is multi-line
...
Also fix button wrap calculation. It was not taking the borders into
account.
2022-08-10 20:34:25 +05:30
Kovid Goyal
7be6b28011
Preserve blanks lines and per line formatting in the ask kitten for the message with choices
2022-08-10 20:10:17 +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
pagedown
5f180dbd9a
...
2022-08-09 12:29:22 +08:00
pagedown
9f1c9529aa
Allow completion for show_key kitten
...
Use the lowercase form of kitty.
2022-08-09 12:15:48 +08:00