Commit Graph

16389 Commits

Author SHA1 Message Date
Kovid Goyal
68eee50aee Make scrollbar wider when mouse hovers over it 2025-09-14 19:20:10 +05:30
Kovid Goyal
e397239076 Change mouse cursor shape while dragging scrollbar 2025-09-14 19:13:12 +05:30
Kovid Goyal
80260e6eb1 Move back to individual settings for scrollbar
We need to split out the color settings so that they can be set in
themes anyway, so ...
2025-09-14 17:48:59 +05:30
Kovid Goyal
6caa550efd DRYer 2025-09-14 14:56:02 +05:30
Kovid Goyal
939e8e2047 Finish documenting the scrollbar settings 2025-09-14 14:40:14 +05:30
Kovid Goyal
efccfd51b3 Refactor scrollbar mouse handlers into a block 2025-09-14 13:26:04 +05:30
Kovid Goyal
4e560fb432 Fix dragging onto last cell not working because of scrollbar 2025-09-14 13:19:10 +05:30
Kovid Goyal
3483c615f8 Update changelog 2025-09-14 13:13:17 +05:30
Kovid Goyal
a78fb1a655 Increase default radius slightly 2025-09-14 13:11:09 +05:30
Kovid Goyal
03537ee902 Use the new scrollbar settings 2025-09-14 13:02:40 +05:30
Kovid Goyal
1e13050fda Nicer debug output for scrollbar option 2025-09-14 12:26:25 +05:30
Kovid Goyal
77e22523ec Start work on consolidating scrollbar settings into one option 2025-09-14 12:14:27 +05:30
Kovid Goyal
a6e64845ef Merge branch 'master' of https://github.com/lxe/kitty into scrollbar 2025-09-14 09:48:08 +05:30
Kovid Goyal
bc3853dfac Merge branch 'master' of https://github.com/smurfix/kitty 2025-09-13 19:30:17 +05:30
Matthias Urlichs
bba4ce2286 Don't complain about unset 'sourced'
If the user's bash profile contains 'set -u' (to protect against typos
in variable names; think "rm -Rf $TMp/*"), starting a new kitty terminal
resulted in a spurious `bash: sourced: unbound variable` message.
2025-09-13 11:51:51 +02:00
Kovid Goyal
c28819710b Merge branch 'blackcat' of https://github.com/j-c-m/kitty 2025-09-13 07:22:07 +05:30
Kovid Goyal
fe22312602 Make mypy happy 2025-09-13 07:21:31 +05:30
Kovid Goyal
69ba320db9 Fix some typos in the example table for legacy key encoding
Fixes #8967
2025-09-13 06:55:52 +05:30
Jesse Miller
9e9af32a07 Add 'blackcat' a modern compatible cat with image support 2025-09-12 19:23:34 -06:00
Kovid Goyal
4abea6c981 Add SPDX license identifiers for all dependencies 2025-09-10 00:02:08 +05:30
Kovid Goyal
5e3c5e8488 Update Security.md to note that GitHub security advisories can be used 2025-09-09 22:29:00 +05:30
Aleksey Smolenchuk
65a4d89282 Interactive scrollbar implementation 2025-09-08 11:33:15 -07:00
Kovid Goyal
0d2b44ce17 Make go vet happy 2025-09-08 10:08:37 +05:30
Kovid Goyal
b7e5f66796 Merge branch 'dependabot/go_modules/all-go-deps-3babb76db8' of https://github.com/kovidgoyal/kitty 2025-09-08 08:52:30 +05:30
dependabot[bot]
f433ada6c2 Bump golang.org/x/sys from 0.35.0 to 0.36.0 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/sys` from 0.35.0 to 0.36.0
- [Commits](https://github.com/golang/sys/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 03:04:24 +00:00
Kovid Goyal
4237644b86 Merge branch 'ab/push-lykkumlnllww' of https://github.com/poliorcetics/kitty 2025-09-07 04:21:18 +05:30
Alexis (Poliorcetics) Bourget
4cccf929eb fix: when parsing python_strings options, don't fail if ' is last
Previously, if the last character was `'` parsing would fail: from `abc'`
it would produce the literal `'''abc''''`, which has one too many
unescaped single quote at the end.

This also fixes the issue for solo `'''`, where before it would produce
`''''\\'''''`, again with one too many single quote at the end.

I added tests for both cases.
2025-09-06 20:33:15 +02:00
Kovid Goyal
d837a64e36 Workaround for latest Apple regression in Tahoe
Now NSWindow::close no longer actually closes the window. Sigh. Have to
also set its frame to zero size, otherwise an invisible rect remains
that intercepts mouse events and takes up space in Mission Control.

Life is too short for this shit. Fixes #8952
2025-09-05 17:27:46 +05:30
Kovid Goyal
b7c4f42e96 Move preservation of OpenGL context into glfw
Allows us to avoid creating an extra hidden window.
2025-09-05 15:29:06 +05:30
Kovid Goyal
b241811a74 Make the Apple context preserving window 1x1 2025-09-05 14:42:01 +05:30
Kovid Goyal
ce4c511fdc Use a 16bit per channel texture for intermediate output rather than 8bit per channel
This doubles VRAM consumption, but is needed for accurate color
blending of the intermediate layers. 16bits is mostly enough, though for
perfect accuracy 32 bits is required. Use 16 as a compromise.

Fixes #8953
2025-09-05 08:47:53 +05:30
Kovid Goyal
142307d4cd Add some footnotes explaining what features native cursors have 2025-09-04 22:02:04 +05:30
Kovid Goyal
574386f45b Fix rendering of underlines when using larger text sizes with the space and en-space characters
Fixes #8950
2025-09-04 20:44:35 +05:30
Kovid Goyal
315562d73d Cleanup previous PR 2025-09-03 21:46:47 +05:30
Kovid Goyal
2ca7b505f4 Merge branch 'master' of https://github.com/rockorager/kitty 2025-09-03 21:34:21 +05:30
Tim Culverhouse
0760733bd1 options: add copy_or_noop, make default
Add a "copy_or_noop" option which copies the text, and if there is no
selected text passes through the key. This allows applications to
implement native text selection but also have cmd+c still function as a
copy key since they can now receive it.

Make this the default on macos. This should have very little impact on
users because when no text is selected, the application can
(potentially) handle the key.
2025-09-03 11:01:57 -05:00
Kovid Goyal
ecf7f0cab0 kitten diff: Fix incorrect rendering if diff completes before terminal responds to capabilities query 2025-09-02 11:29:55 +05:30
Kovid Goyal
e1d8565fb6 Add os_window_title to sessions 2025-09-01 19:30:50 +05:30
Kovid Goyal
ab4e86dfec Avoid a copy when custom function is not used 2025-08-30 09:03:34 +05:30
Kovid Goyal
1544830307 Allow using a custom python function in tab_title_template
Makes it easier to do complex processing
2025-08-30 09:02:39 +05:30
Kovid Goyal
7ff25fd77c Add an extra linenum-action so that the callback can use remote control without needing to turn it on globally 2025-08-29 17:13:56 +05:30
Kovid Goyal
71fd568357 Merge branch 'fix-show-key-typo' of https://github.com/TomJGooding/kitty 2025-08-28 08:14:48 +05:30
TomJGooding
bec29467c1 fix(show_key): fix typo in python exit message 2025-08-27 21:07:21 +01:00
Kovid Goyal
720319ec8c Document the _with_cwd actions as adding to active session 2025-08-27 06:03:08 +05:30
Kovid Goyal
b4d9af9932 Document extra cursor color control 2025-08-26 22:02:02 +05:30
Kovid Goyal
44b5d8f656 Dont use negative numbers in multi cursor protocol
There are apparently many parsers out there that cant handle them.
2025-08-26 21:43:37 +05:30
Kovid Goyal
e76f4c630f Implement displaying of extra cursor color 2025-08-26 21:27:13 +05:30
Kovid Goyal
6c44eadf77 Directly operate on vec3 for linear2srgb 2025-08-26 19:14:06 +05:30
Kovid Goyal
0307ae061e step one to calculating extra cursor colors 2025-08-26 18:56:31 +05:30
Kovid Goyal
6d9dcc3171 Pass extra cursor colors to shader 2025-08-26 18:56:31 +05:30