Commit graph

2516 commits

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