Commit graph

2183 commits

Author SHA1 Message Date
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