Commit Graph

18385 Commits

Author SHA1 Message Date
Kovid Goyal
71c705a1bd When dropping text into the terminal apply the paste actions
This means control codes are now automatically sanitized or queried as
per paste actions settings.
2026-02-17 10:09:10 +05:30
Kovid Goyal
adfa41b7e7 Merge branch 'fix-color-display' of https://github.com/vishalpatil-45/kitty 2026-02-17 09:02:21 +05:30
vishalpatil-45
7c8cd2cd1e Fix: Increase sRGB LUT precision to 8 decimal places for more accurate color rendering 2026-02-17 02:22:20 +05:30
Kovid Goyal
d333095437 Cleanup previous PR 2026-02-16 14:11:00 +05:30
Kovid Goyal
f2fd4a47d0 Merge branch 'master' of https://github.com/littleblack111/kitty 2026-02-16 13:47:21 +05:30
littleblack111
5dfcfba50c Add copy_last_command_output_or_clipboard action
Adds a new keyboard action that copies the selected text to clipboard,
or if no selection exists, copies the last command output. This follows
the pattern of existing actions like copy_or_interrupt.
2026-02-16 15:33:03 +08:00
Kovid Goyal
b534926678 Clarify help text a little 2026-02-16 09:56:05 +05:30
Kovid Goyal
0d3983853d Merge branch 'dependabot/go_modules/all-go-deps-abdcf6c867' of https://github.com/kovidgoyal/kitty 2026-02-16 09:19:50 +05:30
dependabot[bot]
d27f26c07f Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/klauspost/compress](https://github.com/klauspost/compress) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/klauspost/compress` from 1.18.3 to 1.18.4
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](https://github.com/klauspost/compress/compare/v1.18.3...v1.18.4)

Updates `golang.org/x/sys` from 0.40.0 to 0.41.0
- [Commits](https://github.com/golang/sys/compare/v0.40.0...v0.41.0)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.18.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-version: 0.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-16 03:43:24 +00:00
Kovid Goyal
823214575b Use an unsigned int rather than a double to store pixel scroll offset
Its an integral number of pixels.
2026-02-15 19:09:15 +05:30
Kovid Goyal
a0b1adbda5 Cleanup downward fractional line scrolling 2026-02-15 18:57:40 +05:30
Kovid Goyal
8471c0e2e4 @ scroll-window: When scrolling by fractional lines and the fractional part is non-zero scroll by one pixel at least 2026-02-15 15:06:56 +05:30
Kovid Goyal
ebafe8ef5b Fix partial single line scroll not being reset on key events 2026-02-15 14:58:17 +05:30
Kovid Goyal
66a9963fe9 Shell integration: Allow sending click events to shells using y co-ordinates relative to prompts
Note that I havent actually tested the implementation, I leave that to
@okapia.

Fixes #9500
2026-02-15 10:12:22 +05:30
Kovid Goyal
be325ccfcb Update changelog 2026-02-15 09:58:30 +05:30
Kovid Goyal
0eebb3f19d Merge branch 'master' of https://github.com/LazyStability/kitty 2026-02-15 09:55:56 +05:30
LazyStability
4504b5febe feat(sessions): add active-only to goto_session
Allows to specify whether or not to switch only to an active session
2026-02-14 16:23:27 +01:00
Kovid Goyal
55f14aa63b ... 2026-02-13 11:15:41 +05:30
Kovid Goyal
7c7fc4d140 Fix focus_follows_mouse not working during a drag and drop
Fixes #9497
2026-02-13 10:16:11 +05:30
Kovid Goyal
a99103d9a1 Drop events should use same co-ordinate system as mouse events 2026-02-13 10:08:25 +05:30
Kovid Goyal
c4c31c3bc1 Bump libpng for CVE 2026-02-13 08:57:17 +05:30
Kovid Goyal
6b1aecdb47 Make compiler happy 2026-02-13 08:39:20 +05:30
Kovid Goyal
f4ef955e95 Update changelog 2026-02-10 09:57:28 +05:30
Kovid Goyal
d95b9a797b Merge branch 'fix/macos-stuck-menu' of https://github.com/alexeyshurygin/kitty 2026-02-10 09:56:26 +05:30
Alexey Shurygin
1a4e5aa6da Fix menubar on MacOS 2026-02-09 14:06:51 +03:00
Kovid Goyal
21ffe9118f Merge branch 'dependabot/go_modules/all-go-deps-ccd63e1044' of https://github.com/kovidgoyal/kitty 2026-02-09 09:41:39 +05:30
dependabot[bot]
3e3f9c69a0 Bump github.com/shirou/gopsutil/v4 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil).


Updates `github.com/shirou/gopsutil/v4` from 4.25.12 to 4.26.1
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v4.25.12...v4.26.1)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
  dependency-version: 4.26.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-09 03:43:27 +00:00
Kovid Goyal
34ffc6cdce X11: port drop code to new API 2026-02-09 07:54:40 +05:30
Kovid Goyal
524a67d3aa ... 2026-02-09 06:47:31 +05:30
Kovid Goyal
6ac4b8464e Dont prune peers waiting for an async response 2026-02-09 05:33:15 +05:30
Antoine Cellerier
ef4574ae97 Support hide_window_decorations titlebar-only on Wayland
Hide the CSD titlebar subsurface while keeping shadow borders for
resizing. On SSD compositors (GNOME), forces CSD mode to draw
kitty's own shadows without a titlebar.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-08 19:49:44 +01:00
Kovid Goyal
abb1141826 Handle on_drop being called with a POSIX errno 2026-02-08 22:10:03 +05:30
Kovid Goyal
ff70e2e3ab Dont hardcode mimetype to extension mappings 2026-02-08 22:05:15 +05:30
Kovid Goyal
08217c949d Fix crash on self drop 2026-02-08 22:05:15 +05:30
Kovid Goyal
625e3b5d1c Notes for X11 backend refactor 2026-02-08 22:05:14 +05:30
Kovid Goyal
a80d742449 Port cocoa backend drop code to the new API 2026-02-08 22:05:14 +05:30
Kovid Goyal
af4f3969b7 remove watch after all data is received on pipe 2026-02-08 22:05:14 +05:30
Kovid Goyal
5db41c7ba4 Remove remaining code for the old drop API
X11 and cocoa need to be ported to the new API
2026-02-08 22:05:14 +05:30
Kovid Goyal
f3cda7e828 Have mimes_count be always accurate 2026-02-08 22:05:14 +05:30
Kovid Goyal
c19ec465cb ... 2026-02-08 22:05:14 +05:30
Kovid Goyal
3cf24afdc0 Refactor drop API and implement it on Wayland 2026-02-08 22:05:14 +05:30
Kovid Goyal
0ea65903b8 Revert "Increase minimum python version to 3.12"
This reverts commit 7004911271.
Dont need 3.12 anymore
2026-02-08 21:57:11 +05:30
Kovid Goyal
f3d7830352 Fix async repose rc commands not decrementing peer unhandled message counter
This was causing peers to not be pruned leading to eventual starvation.
Fixes #9487
2026-02-08 21:25:37 +05:30
Kovid Goyal
386a6f14f0 Add bookorat to integrations 2026-02-08 15:36:15 +05:30
Kovid Goyal
1103aaf1a5 Cleanup previous PR
Testing is_local_file is insufficient since it can be false for local
files that dont have r/w permissions. Instead check if the child is
remote when the EditCmd is created and only use disconnected abort
if child was remote at creation but is not remote currently.
2026-02-08 07:57:15 +05:30
Kovid Goyal
d02f30ca31 Merge branch 'detect-ssh-drop' of https://github.com/waresnew/kitty 2026-02-08 07:45:36 +05:30
newwares
828bd56fa5 ssh kitten: Push and pop keyboard encoding flags 2026-02-07 20:26:28 -05:00
newwares
60e2d61eb4 edit-in-kitty: Warn if SSH connection has dropped when attempting to update remote file 2026-02-07 20:26:28 -05:00
Kovid Goyal
9aab18d724 DRYer 2026-02-07 23:11:42 +05:30
Kovid Goyal
0d465f71a3 More work on cocoa darg drop still not functional
I think I am going to rewrite the API to integrate with the event loop,
now that I have a good handle on the semantics of DnD in the two major
platforms.
2026-02-07 23:00:23 +05:30