Commit graph

2457 commits

Author SHA1 Message Date
Kovid Goyal
04506975e5
Cleanup previous PR 2023-11-14 14:55:43 +05:30
Jin Liu
0f52b69372 launch watcher: add on_cmd_startstop event 2023-11-14 16:46:46 +08:00
Kovid Goyal
9a08489112
Fix config file reloading not working is a system config file is set and no user config file is present at startup
Fixes #6801
2023-11-13 01:02:02 +05:30
Kovid Goyal
4d510e3318
Fix searching for kitten to build man pages on macOS 2023-11-12 07:56:03 +05:30
Kovid Goyal
87f7bd2f9e
See what's going on with finding kitten in CI 2023-11-11 20:11:40 +05:30
Kovid Goyal
2ffe03ee48
mypy again 2023-11-11 20:01:28 +05:30
Kovid Goyal
a3c8f32c1a
Fix Linux CI build 2023-11-11 17:36:10 +05:30
Kovid Goyal
176ffc7f51
... 2023-11-11 17:14:09 +05:30
Kovid Goyal
70bc4f1033
Generate man pages for kitten and all its sub-commands recursively
Fixes #6808
2023-11-11 17:09:23 +05:30
Kovid Goyal
dee2e83fb4
Remove no longer needed monkeypatch 2023-11-11 13:44:34 +05:30
Kovid Goyal
77292a16d6
Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
b247fda672
version 0.31.0 2023-11-08 13:15:45 +05:30
Kovid Goyal
61429c73c7
Wayland: Fix primary selections not working with the river compositor
Fixes #6785
2023-11-03 19:57:54 +05:30
Kovid Goyal
b4f88b4f81
A new option to control when hyperlinks are underlined
While kitty is never going to underline detected URLs as the performance
of that is absurd, underlining hyperlinks specifically is acceptable,
since they dont require detection.

See #6766
2023-11-03 08:51:58 +05:30
Kovid Goyal
954b7f87a5
Add some docs on why no-sudo might be needed 2023-11-03 08:26:54 +05:30
Kovid Goyal
d113a6c2cf
ssh kitten: Fix a regression that broken ctrl+space mapping in zsh
Fixes #6780
2023-11-03 07:16:07 +05:30
Kovid Goyal
827a7d5094
Add a new interactive action to set the active window title 2023-11-02 08:05:49 +05:30
Kovid Goyal
f3ece8b7c4
Update changelog 2023-10-31 16:29:04 +05:30
Kovid Goyal
f05a58f363
Note cursor movement behavior for relative placements in the spec 2023-10-27 15:43:15 +05:30
Kovid Goyal
9f42e915c8
Clarify relative placement spec 2023-10-27 15:38:56 +05:30
Kovid Goyal
52d5a4679f
Graphics protocol: Support for positioning images relative to other images
Fixes #6617
2023-10-27 15:27:30 +05:30
Kovid Goyal
aee14a49f0
... 2023-10-27 14:19:35 +05:30
Kovid Goyal
acf586867c
Fix empty emoticons panel in unicode input kitten
Fixes #6760
2023-10-27 14:18:46 +05:30
Kovid Goyal
6111bc8ed6
Cleanup changelog 2023-10-26 09:00:37 +05:30
Kovid Goyal
b55883591d
... 2023-10-25 18:37:10 +05:30
Kovid Goyal
0ce996120a
Allow o key to take effect in any chunk of OSC 99 2023-10-25 15:50:58 +05:30
Kovid Goyal
47b8b442dc
Document when o key was added to desktop notifications spec 2023-10-25 15:42:57 +05:30
Kovid Goyal
32d23921df
... 2023-10-25 13:54:22 +05:30
Kovid Goyal
19374208e0
desktop notification protocol: Allow applications sending notifications to specify that the notification should only be displayed if the window is currently unfocused
Fixes #6755
2023-10-25 13:52:32 +05:30
Kovid Goyal
8c83284d5e
Fix #6750 2023-10-25 12:14:36 +05:30
Kovid Goyal
9c25a183db
On second thoughts dont use foreground process env vars for kitten @ ls
Since the purpose of the env vars is mostly to recognize windows the
original env vars make more sense. Also I dislike changing behavior for
no good reason.
2023-10-25 12:12:16 +05:30
Kovid Goyal
eefb865e6e
kitten @ ls: Return environ of foreground process
This is needed on macOS where we now run the shell via login and we
aren't allowed to read the environ of login because its setuid.

Fixes #6749
2023-10-25 09:54:12 +05:30
Kovid Goyal
ce583ea460
Render Private Use Unicode symbols using two cells if the second cell contains a non-breaking space as well as a normal space
There is some software out there that uses nbsp as a separator,
presumably as some kind of hack.

https://github.com/ibhagwan/fzf-lua/issues/916
2023-10-24 17:38:49 +05:30
Kovid Goyal
539a8706dc
Update bundled harfbuzz version
The old version shows very poor perfromance shaping some fonts with
ligatures on macOS.

Fixes #6743
2023-10-24 16:39:29 +05:30
Kovid Goyal
7292d1c9df
Clean up mouse-demo kitten
Fixes #6738
2023-10-21 07:55:23 +05:30
Kovid Goyal
c9a95cacd9
... 2023-10-20 18:24:21 +05:30
Kovid Goyal
defa2e29ac
Always ask for confirmation when pasting text with control codes in it 2023-10-20 13:02:28 +05:30
Kovid Goyal
56963c693e
When pasting in bracketed paste mode and the cursor is at a shell prompt, strip out C0 control codes
Some shells incorrectly interpret these allowing escape from bracketed paste mode. Thanks to David Leadbetter for discovering.
2023-10-20 12:17:13 +05:30
Kovid Goyal
4b997a961c
A new option single_window_padding_width to use a different padding when only a single window is visible
Fixes #6734
2023-10-20 08:37:45 +05:30
Kovid Goyal
512a672398
... 2023-10-19 08:12:04 +05:30
Kovid Goyal
6cfb451ec8
Two new event types for watchers
on_title_change and on_set_user_var
2023-10-19 07:54:33 +05:30
Kovid Goyal
4a463f7712
More kitty @ -> kitten @ 2023-10-18 21:16:12 +05:30
Kovid Goyal
5ea9700c82
More kitty @ -> kitten @ 2023-10-18 20:40:39 +05:30
Kovid Goyal
1332cf8ac7
Create an easy to use alias for running remote control scripts 2023-10-18 20:29:50 +05:30
Kovid Goyal
f8ab5f3f67
... 2023-10-18 20:15:05 +05:30
Kovid Goyal
822311d523
Change kitty @ to kitten @ in the docs 2023-10-18 20:13:49 +05:30
Kovid Goyal
713569fcfa
Advertise the ability to run remote control scripts without turning on remote control 2023-10-18 20:10:17 +05:30
Kovid Goyal
314fe4fe4a
Allow launched background process to work with --allow-remote-control
Use a dedicated socketpair for such processes. Fixes #6712
2023-10-18 19:56:58 +05:30
Kovid Goyal
a9b412baba
Fix a regression that broke kitten update-self
Fixes #6729
2023-10-18 19:19:35 +05:30
Kovid Goyal
0300a355d0
update docs for remote_kitty 2023-10-18 17:31:44 +05:30
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