Commit graph

2671 commits

Author SHA1 Message Date
Lorenzo Zabot
2d8deb86bb docs: minor adjustements 2024-03-16 14:43:23 +01:00
KaranveerB
19a9594143 Fix typo in mapping.rst 2024-03-14 23:01:27 -07:00
Kovid Goyal
d329cb3fff
Update FAQ 2024-03-14 21:40:16 +05:30
Kovid Goyal
039d144c84
Splits layout: Allow resizing until one of the halves in a split is minimally sized
Fixes #7220
2024-03-14 15:59:23 +05:30
Kovid Goyal
5a9cf82564
Fix requesting data from clipboard via OSC 52 getting it from primary selection instead
Fixes #7213
2024-03-13 09:43:28 +05:30
Kovid Goyal
04f8cb6d30
version 0.33.0 2024-03-12 20:49:31 +05:30
Kovid Goyal
7d787e6c22
Implement box drawing for Fira Code spinner glyphs 2024-03-10 21:08:23 +05:30
Kovid Goyal
88b7595929
Ignore startup_session when kitty is invoked with command line options specifying a command to run 2024-03-10 09:41:08 +05:30
Kovid Goyal
76a4840a0f
toggle_tab to easily switch to and back from a tab
Fixes #7203
2024-03-07 11:38:28 +05:30
Kovid Goyal
6c31256aa1
Keyboard protocol: Do not deliver a fake key release events on OS window focus out for engaged modifiers
Fixes #7196
2024-03-07 08:29:10 +05:30
Kovid Goyal
7b34c0603f
Fix --match not working for some remote control commands 2024-03-05 08:00:57 +05:30
Kovid Goyal
c3c99113c7
hints kitten: Use default editor rather than hardcoding vim to open file at specific line
Fixes #7186
2024-03-04 21:49:06 +05:30
Guten Ye
dc82a06e9e
doc: add detailed step to enable shell integration for Nushell 2024-03-04 21:41:50 +08:00
Kovid Goyal
bb98b81f82
Note that kitty keyboard protocol is supported in yazi
Fixes #7189
2024-03-04 19:03:23 +05:30
Kovid Goyal
1687c74913
Note that nushell supports shell integration 2024-03-04 19:01:31 +05:30
Kovid Goyal
c6acfa2cd4
Add a note to clarify lock key handling in disambiguate mode 2024-03-03 09:12:54 +05:30
Kovid Goyal
89108e856f
Clarify exactly when modifiers bits are set in the keyboard protocol
Fixes #7183
2024-03-02 13:14:41 +05:30
Kovid Goyal
0a0420bfd0
kitten @ ls: Return the timestamp at which the window was created
Fixes #7178
2024-03-02 09:30:12 +05:30
Kovid Goyal
473bff1aae
Cheetah speed
😸
2024-02-29 10:16:08 +05:30
Kovid Goyal
d4c302bea3
Cleanup clear to prompt implementation and allow moving cleared lies into scrollback 2024-02-28 11:27:41 +05:30
Kovid Goyal
b8774327b6
icat kitten: Add a command line argument to override terminal window size detection
Fixes #7165

I had five minutes, so why not.
2024-02-27 23:06:10 +05:30
Kovid Goyal
c5a10d19a4
Update the changelog 2024-02-25 10:49:22 +05:30
Kovid Goyal
a5f3142514
hints kitten: The option to set the text color for hints now allows arbitrary colors
Fixes #7150
2024-02-25 10:02:38 +05:30
Kovid Goyal
559be309ea
Document previous PR 2024-02-25 09:57:44 +05:30
Kovid Goyal
c19488f3be
Graphics protocol: Add a new delete mode for deleting images whose ids fall within a range
Useful for bulk deletion. See #7080
2024-02-25 09:57:44 +05:30
Kovid Goyal
8639a2ac40
Update perf figures based on latest code 2024-02-25 09:57:42 +05:30
Kovid Goyal
3abdc54e4b
... 2024-02-25 09:57:41 +05:30
Kovid Goyal
618aeec709
Finally got gnome-terminal to run on my system
Apparently it needed some kind of GTK desktop portal or the other
🙄

Interesting that its numbers are basically the same as alacritty's. Lot
better than I remember, I guess the recent libvte performance work was
good.
2024-02-25 09:57:41 +05:30
Kovid Goyal
2549b4328f
Update throughput comparison table in light of latest improvements 2024-02-25 09:57:40 +05:30
Kovid Goyal
66341aa28e
Make the env var controlling which SIMD level to use more capable 2024-02-25 09:57:38 +05:30
Kovid Goyal
23a4012aeb
Add an env var to turn off use of SIMD instructions 2024-02-25 09:57:38 +05:30
Kovid Goyal
b237e1b99f
... 2024-02-25 09:57:36 +05:30
Kovid Goyal
4fbb70d89e
Explain the purpose of the CSI column 2024-02-25 09:57:35 +05:30
Kovid Goyal
5c3e54dede
Note that konsole and xterm dont support synchronized update 2024-02-25 09:57:35 +05:30
Kovid Goyal
5721b1315e
... 2024-02-25 09:57:35 +05:30
Kovid Goyal
85fcac2a61
Add throughput performance numbers 2024-02-25 09:57:35 +05:30
Kovid Goyal
17cb65e981
Adjust amount of data in the benchmarks for more consistent timing 2024-02-25 09:57:28 +05:30
Kovid Goyal
49a54b086f
Use simde so SIMD speedups work on ARM as well 2024-02-25 09:57:28 +05:30
Kovid Goyal
be92cc87a4
macOS: The command line args from macos-launch-services-cmdline are now prefixed to any args from open --args rather than overwriting them
The purpose of the file is to provide default command line args when
launching from GUI. Since macOS nowadays also allows command line args
when launch via open, also respect them.

Fixes #7135
2024-02-18 11:22:15 +05:30
Kovid Goyal
b2391553f9
Keyboard protocol: Fix the Enter Tab and Backspace keys generating spurious release events even when report all keys as escape codes is not set
Fixes #7136
2024-02-18 11:12:24 +05:30
Kovid Goyal
d35f391725
Fix #7131 2024-02-15 13:06:33 +05:30
Kovid Goyal
c4ef6b87aa
... 2024-02-12 14:58:13 +05:30
Kovid Goyal
031f9d8c26
... 2024-02-12 14:43:46 +05:30
Sy Tran
cdce26e519
fix: typo in build docs 2024-02-12 15:59:01 +07:00
Kovid Goyal
925043d645
... 2024-02-12 11:17:25 +05:30
Kovid Goyal
f63a4cf90c
version 0.32.2 2024-02-12 11:15:49 +05:30
Kovid Goyal
cd2c7b3bbd
git rev-list --skip invocation changed 2024-02-12 08:47:50 +05:30
Kovid Goyal
54548931b5
Allow running mappable actions via remote control
Saves me having to define a special remote control wrapper for every
mappable action.
2024-02-10 13:23:06 +05:30
Kovid Goyal
ac7b6870a8
close_other_os_windows: to close non active OS windows
Fixes #7113
2024-02-10 12:20:55 +05:30
Kovid Goyal
576a269648
Special case rendering of some more box drawing characters using shades from the block of symbols for legacy computing
Fixes #7110
2024-02-10 10:13:46 +05:30
Kovid Goyal
585ac148a6
... 2024-02-09 19:14:26 +05:30
Kovid Goyal
7c14e0d666
macOS: Fix an abort when changing OS window chrome for a full screen window via remote control or the themes kitten
Fixes #7106
2024-02-09 15:32:09 +05:30
Kovid Goyal
065b17ddbd
kitten @ load-config: Allow (re)loading kitty.conf via remote control 2024-02-07 11:08:55 +05:30
Kovid Goyal
8cc2cad4d9
Use list of legal chars in URL from the WHATWG standard
Notably this excludes some ASCII chars: <>{}[]`|
See https://url.spec.whatwg.org/#url-code-points

Fixes #7095
2024-02-05 13:27:22 +05:30
Kovid Goyal
d0f3b34517
Fix typo in docs 2024-02-03 08:20:11 +05:30
Kovid Goyal
9b8ee54034
better example of conditional key mapping 2024-01-29 21:58:10 +05:30
Kovid Goyal
e8d9ca4465
Graphics protocol: Improve display of images using unicode placeholders or row/column boxes by resizing them using linear instead of nearest neighbor interpolation on the GPU
Fixes #7070
2024-01-28 08:05:02 +05:30
Kovid Goyal
5a2ee2f9a3
macOS: Fix kitten @ select-window leaving the keyboard in a partially functional state
Fixes #7074
2024-01-27 12:53:58 +05:30
Kovid Goyal
cafd5a7471
@ send-text --bracketed-paste
Allow automatically wrapping sent text in bracketed paste if the
program running in the destination window has turned on bracketed paste
mode.
2024-01-26 20:51:21 +05:30
Kovid Goyal
8c50632a10
Fix a single key mapping not overriding a previously defined multi-key mapping 2024-01-26 18:02:25 +05:30
Kovid Goyal
ae1bf69a3d
Fix date in changelog 2024-01-26 17:24:45 +05:30
Kovid Goyal
08d88af2fb
version 0.32.1 2024-01-26 08:33:51 +05:30
Kovid Goyal
cc0d6621a4
Also document how to set user vars from nvim 2024-01-25 14:27:55 +05:30
Kovid Goyal
9ef6801f4c
A single key shortcut should override all previous multi-key shortcuts that have that shortcut as a prefix
Fixes #7058
2024-01-25 11:24:40 +05:30
Kovid Goyal
90e1ba7781
Fix #7051 2024-01-24 18:56:04 +05:30
Kovid Goyal
c76f75a154
Fix a regression in the previous release that caused overriding of existing multi-key mappings to fail
Fixes #7044
2024-01-23 15:49:30 +05:30
Kovid Goyal
f51520eb79
Clarify behavior of image id==!0 and placement id == 0
See https://github.com/kovidgoyal/kitty/discussions/7043
2024-01-23 08:41:23 +05:30
Kovid Goyal
828f4f312a
Wayland+NVIDIA: Do not request an sRGB output buffer as a bug in Wayland causes kitty to not start
Fixes #7021
2024-01-22 13:22:04 +05:30
Kovid Goyal
a9c7a85d9a
Clarify the behavior of functional keys with no legacy encoding
See https://github.com/kovidgoyal/kitty/discussions/7037
2024-01-22 08:35:54 +05:30
Kovid Goyal
38393b50c1
Show how to send SIGUSR1 to kitty 2024-01-22 07:36:57 +05:30
Kovid Goyal
ab9631f045
Better fix 2024-01-21 08:27:16 +05:30
Kovid Goyal
ec0a449c63
Fix a regression in the previous release that caused kitten @ send-text with a match parameter to send text twice to the active window
Fixes #7027
2024-01-21 08:24:22 +05:30
Kovid Goyal
01ffbfdb42
Fix a regression in the previous release that caused kitten @ launch --cwd=current to fail over SSH
Fixes #7028
2024-01-21 08:06:44 +05:30
Kovid Goyal
f5621bd56c
Merge branch 'dmenu-term' of https://github.com/weakish/kitty 2024-01-20 19:15:50 +05:30
weakish
708750173e
Remove dmenu-term in docs
The dmenu-term link returns 404 now.
2024-01-20 08:39:05 +00:00
Kovid Goyal
20e43a3e7d
Fix a regression in the previous release that caused multi-key sequences to not abort when pressing an unknown key
Fixes #7022
2024-01-20 08:13:12 +05:30
Kovid Goyal
89c3b4f9e2
macOS: Fix a regression in the previous release that broke overriding keyboard shortcuts for actions present in the global menu bar
Fixes #7016
2024-01-19 19:44:04 +05:30
Kovid Goyal
eb5dd364ae
version 0.32.0 2024-01-19 10:50:55 +05:30
Kovid Goyal
9b5f665218
Allow focusing previously active OS windows via nth_os_window
Fixes #7009
Fixes #7008
2024-01-18 07:54:15 +05:30
David Brochart
2df1273d53
Remove duplicated line 2024-01-16 13:01:47 +01:00
Kovid Goyal
cad7047a7a
Make the text for kitty.scrollback.nvim fit with the rest 2024-01-10 09:39:29 +05:30
Mike Smith
40d8111717 Document integration with tool kitty-scrollback.nvim 2024-01-09 22:43:44 -05:00
Kovid Goyal
b8c5c62585
Graphics protocol: Specify some edge case behavior for image display
See https://github.com/kovidgoyal/kitty/discussions/6979
2024-01-08 08:46:17 +05:30
Kovid Goyal
1e249035c7
Fix focus_visible_window not switching to other window in stack layout when only two windows are present
Fixes #6970
2024-01-05 21:41:21 +05:30
Kovid Goyal
ab2af0c141
... 2023-12-26 22:53:57 +05:30
Kovid Goyal
0a2fcf1805
Mouse reporting: Fix incorrect position reported for windows with padding
Fixes #6950
2023-12-26 22:27:20 +05:30
Kovid Goyal
858f0c1073
GNOME Wayland: Fix remembered window size smaller than actual size
Fixes #6946
2023-12-25 19:29:33 +05:30
Kovid Goyal
4519b3abee
Enable cursor shape on Wayland
Cant replicate the hyprland crash, so am not going to bother about it.

Fixes #6914
2023-12-24 22:56:01 +05:30
Kovid Goyal
91cdf4af00
kitty keyboard protocol: Specify the behavior of the modifier bits during modifier key events
Fixes #6913
2023-12-24 12:09:13 +05:30
Kovid Goyal
c03d99e744
Update changelog 2023-12-22 06:20:38 +05:30
Kovid Goyal
39a3c38037
Merge branch 'patch-1' of https://github.com/arthurbacci/kitty 2023-12-21 08:08:59 +05:30
Kovid Goyal
5dfe4427cf
Note that the rio terminal also supports the kitty keyboard protocol 2023-12-21 08:07:27 +05:30
Arthur Bacci
b2eac37164
Fix copy-paste typo in graphics-protocol.rst 2023-12-20 15:44:53 -03:00
Kovid Goyal
017947de7f
panel kitten: Fix rendering with non-zero margin.padding in kitty.conf
Fixes #6923
2023-12-17 11:12:49 +05:30
Kovid Goyal
b2587c1d54
Fix modifier reporting on macOS
We make use of the fact that the device dependent modifiers flags
actually report left/right modifier. Code taken form SDL, with thanks.
2023-12-14 11:31:48 +05:30
Kovid Goyal
7e5230e6f4
more grammar 2023-12-14 09:06:16 +05:30
Kovid Goyal
64cfe8171f
... 2023-12-14 08:55:43 +05:30
Kovid Goyal
a9b424e307
Keyboard protocol: Clarify the behavior of the modifier bits during modifier key events
I cant find any relevant standards for this, so am just picking the
macOS behavior as it seems more sensible to me.

Fixes #6913
2023-12-14 08:50:19 +05:30
Kovid Goyal
d9ccbcd0ce
Font fallback: Fix the font used to render a character sometimes dependent on the order in which characters appear on screen
We ameliorate the performance hit by storing a hash table mapping cell
text to the loaded fallback font index so that lookups for previously
seen text are still fast.

Fixes #6865
2023-12-11 20:27:21 +05:30
Kovid Goyal
00f8f340bf
macOS: Fix returning from full screen via the button when the titlebar is hidden not hiding the buttons
Fixes #6883
2023-12-10 22:30:15 +05:30
Kovid Goyal
e9e889457d
macOS: Fix some combining characters not being rendered
Use Harfbuzz for positioning instead of Core Text as Core Text doesn't
position combining chars correctly anymore. This may mean we need to
redo the cell metrics calculation as well, we will see. Core Text is
still used for rendering but at positions specified by Harfbuzz.

Fixes #6898
2023-12-10 20:30:24 +05:30
Kovid Goyal
69a5c7e3b2
Wayland: Fix a regression in the previous release that broke copying to clipboard under wl-roots based compositors in some circumstances
As is usual in Wayland land, utter chaos. Divergent implementations,
incorrect interpretations of the spec, bla bla.

Fixes #6890
2023-12-08 08:38:08 +05:30
Kovid Goyal
22ac57c374
Another terminal emulator adds support for the kitty keyboard protocol 2023-12-06 16:32:27 +05:30
Kovid Goyal
392a301cd8
Note how to to use hints to open hyperlinks 2023-12-05 07:50:35 +05:30
Kovid Goyal
04eafbea9b
Implement better syntax highlighting for the new map 2023-12-04 11:54:49 +05:30
Kovid Goyal
59e3b202b9
Update changelog 2023-12-03 21:11:52 +05:30
Kovid Goyal
a7bdbb11f2
Document the new modal keymaps 2023-12-03 21:09:26 +05:30
Kovid Goyal
77551cdfc1
Weird macOS docs build failure 2023-12-03 15:06:12 +05:30
Kovid Goyal
99995fd9dc
Remote control API for send-key 2023-12-03 13:23:01 +05:30
Kovid Goyal
74388b4183
A simple action to remap key presses sent to programs running in kitty 2023-12-03 13:08:53 +05:30
Kovid Goyal
f1fc2126bc
Refactor the mapping docs 2023-12-03 12:25:15 +05:30
Kovid Goyal
8a1571f62c
Add full docs for matching windows/tabs to the remote control page 2023-11-29 21:44:52 +05:30
Kovid Goyal
35b2dcb065
... 2023-11-23 17:25:52 +05:30
Notarin
3cbb8d5c8f
Update graphics-protocol.rst
Fixed a very small typo
2023-11-18 22:36:39 -05:00
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