Commit Graph

18487 Commits

Author SHA1 Message Date
Kovid Goyal
6b896e18ad Add support for editing files in sublime text and zed at specified line number
Fixes #10224
2026-07-05 09:46:31 +05:30
Kovid Goyal
dff6e427e5 ... 2026-07-04 13:52:16 +05:30
Kovid Goyal
3cee91f00b Merge branch 'master-choose-files' of https://github.com/Mr7F/kitty 2026-07-04 13:18:52 +05:30
Kovid Goyal
31c76ee395 Merge branch 'copilot/fix-issue-10222' of https://github.com/kovidgoyal/kitty
Fixes #10222
2026-07-04 13:11:11 +05:30
Kovid Goyal
facec19834 Cleanup previous PR 2026-07-04 12:52:34 +05:30
Kovid Goyal
c64ff282d0 Merge branch 'master' of https://github.com/tellezhector/kitty 2026-07-04 12:41:38 +05:30
Kovid Goyal
4f2359a455 Fix secure_input_symbol rendering in tab title template 2026-07-04 12:33:00 +05:30
Kovid Goyal
9735bf25e4 Cleanup previous PR 2026-07-04 12:23:16 +05:30
Kovid Goyal
804438fb8d Merge branch 'macos-topmost-panel' of https://github.com/agmitron/kitty 2026-07-04 12:14:04 +05:30
copilot-swe-agent[bot]
d0da0d4c53 Fix window drag to + button failing to create new tab with single tab (issue #10222) 2026-07-04 06:38:02 +00:00
Kovid Goyal
89781759e4 ... 2026-07-04 09:23:16 +05:30
Kovid Goyal
a65b4c70a7 Migrate type checker to ty
Much faster than mypy. Matches usage of ruff from same developer.
2026-07-04 09:18:00 +05:30
Mr7F
b2edb4b12d [IMP] choose-files: allow selecting files and directories
Add a new mode `all` to select either a file or a directory.
2026-07-03 21:02:08 +02:00
Kovid Goyal
bb452f2066 Do not try to auto install kitten when generating completions
See https://github.com/kovidgoyal/kitty/discussions/10218
2026-07-03 23:30:59 +05:30
Kovid Goyal
0bb8502f31 Increase timeout for receiving capabilities from notification daemon
Fixes #10215
2026-07-03 13:43:41 +05:30
Kovid Goyal
4feb167e99 Cleanup previous PR 2026-07-03 11:08:14 +05:30
Kovid Goyal
28cbe0188d Merge branch 'copilot/fix-tab-bar-border-edges' of https://github.com/kovidgoyal/kitty 2026-07-03 11:08:09 +05:30
copilot-swe-agent[bot]
0b27865625 Address review comments: clarify reversed reset and vertical NULL params 2026-07-03 04:05:40 +00:00
copilot-swe-agent[bot]
6fb8ff1829 Fix tab bar edge strips: use bg when edge cell has default color 2026-07-03 04:01:56 +00:00
Kovid Goyal
9e92c57af3 Bump dependency for CVE 2026-07-03 09:07:55 +05:30
Kovid Goyal
3313e5a6be Ignore inapplicable CVE 2026-07-03 08:58:07 +05:30
Kovid Goyal
d86da26069 Merge branch 'copilot/fix-issue-10212' of https://github.com/kovidgoyal/kitty
Fixes #10212
2026-07-03 08:33:13 +05:30
copilot-swe-agent[bot]
d68608b35a Fix tab bar edge strips rendered with opacity < 1 when background_opacity < 1 2026-07-03 02:56:41 +00:00
copilot-swe-agent[bot]
252d8b73f7 Fix superfluous tab bar margin when background_opacity < 1 (issue #10212) 2026-07-03 02:42:28 +00:00
Hector Tellez
5d1215b11d Implements option to generate prefix-free hints
- Declares --prefix-free CLI flag in main.py.
- Implements dynamic index offset shifting in marks.go to prevent
  generating hints that prefix other hints.
- Integrates prefix-free encoding in main.go.
- Includes tests.

Implements #10195
2026-07-01 09:24:30 -07:00
Kovid Goyal
c1d507dbe8 Merge branch 'dependabot/github_actions/actions-77b068c286' of https://github.com/kovidgoyal/kitty 2026-06-29 11:51:19 +05:30
Kovid Goyal
2b38afabce Merge branch 'dependabot/go_modules/all-go-deps-9c5f66ad81' of https://github.com/kovidgoyal/kitty 2026-06-29 11:51:05 +05:30
dependabot[bot]
2ead860607 Bump the actions group with 4 updates
Bumps the actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [actions/setup-go](https://github.com/actions/setup-go) and [actions/cache](https://github.com/actions/cache).


Updates `actions/checkout` from 6.0.3 to 7.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6.0.3...v7.0.0)

Updates `actions/setup-python` from 6 to 6.2.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6...v6.2.0)

Updates `actions/setup-go` from 6 to 6.4.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v6...v6.4.0)

Updates `actions/cache` from 5 to 5.0.5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v5...v5.0.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-python
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/cache
  dependency-version: 5.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 03:44:56 +00:00
dependabot[bot]
691a971a70 Bump github.com/alecthomas/chroma/v2 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma).


Updates `github.com/alecthomas/chroma/v2` from 2.26.1 to 2.27.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.26.1...v2.27.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-version: 2.27.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-06-29 03:42:55 +00:00
Kovid Goyal
9cd2c60064 Clean previous PR 2026-06-29 06:17:08 +05:30
Kovid Goyal
4e0f7faef8 Merge branch 'fix-erase-last-command-multiline-prompt' of https://github.com/slayerlab/kitty 2026-06-29 06:13:36 +05:30
amoena
207b22aa80 fix(erase_last_command): erase the most recent command even empty output
erase_last_command selected the region to erase via find_cmd_output(..., -1),
which anchors on OUTPUT_START (OSC, 133;C). Commands that produce no output
(an empty Enter, a comment, cd, export, etc. -- never emit 133;C, so they were
skipped and an older command-with-output was erased instead. "Erase the last
command" therefore did not erase the last command whenever the most recent ones
has no output.

Select the region by prompt marks instead: erase the prompt block immediately
above the current (live) prompt, whatever it contains. Every submittd command
is now one unit, removed newest-first, one prompt block per invocation.

This also fixes two latent defects in the previous implementation:

* The on-screen deletion was anchored at `cursor->y - count`, which
  assumes the region ends exactly one row above the cursor.
  Multi-line prompts and skipped rows broke that assumption and left
  residual lines. Anchor at the top of the region instead.

* When part of the erased region was in the scrollback, the lines
  were removed from the history buffer but no redraw was signalled,
  so the deletion of the off-screen lines only became visible after
  the next scroll event recomputed the history viewport. Clamp
  scrolled_by to the new history length and call dirty_scroll()
  after shrinking the buffer.

include_prompt is retained for API compatibility but is now a no-op: the
unit erased is always the whole prompt block.
2026-06-28 11:17:01 -03:00
Kovid Goyal
925de17ecb Update changelog
Fixes #10198
2026-06-28 08:54:04 +05:30
Kovid Goyal
543476f358 Merge branch 'copilot/fix-issue-10198' of https://github.com/kovidgoyal/kitty 2026-06-28 08:52:07 +05:30
Kovid Goyal
e0e01544d1 ignore shaders dir that contains shaders generated by slang 2026-06-28 08:49:08 +05:30
copilot-swe-agent[bot]
21f7e96bef Address code review: add comment, fallback timer, and warning log for PID monitoring 2026-06-28 03:16:33 +00:00
copilot-swe-agent[bot]
aee532c586 Fix issue 10198: edit-in-kitty exits with editor's exit code
- Python (kitty/launch.py): Track editor PID via monitor_pid to capture
  exit code when editor window closes. Send exit code as data in the DONE
  message instead of sending no data.
- Go (tools/cmd/edit_in_kitty/main.go): Parse exit code from DONE message
  data and use lp.Quit(exit_code) to exit with the editor's exit code.
- Go (tools/cmd/tool/confirm_and_run_shebang.go): Check exit code when
  running edit-in-kitty as a subprocess; abort execution on editor failure.
2026-06-28 03:10:58 +00:00
Kovid Goyal
cd88eb3915 Merge branch 'patch-1' of https://github.com/gelaechter/kitty 2026-06-28 08:20:00 +05:30
Gelaechter
f49c1c79e9 Add pdf-kitten to Kittens created by kitty users 2026-06-28 02:26:16 +02:00
Kovid Goyal
f6d1b11b29 Make arm64 binary deps available for dev.sh
Fixes #10197
2026-06-27 17:29:31 +05:30
Kovid Goyal
1096e9da5e update imaging to align version of image package 2026-06-27 09:02:41 +05:30
Kovid Goyal
351ee9fcbd bump dependency for CVEs 2026-06-27 09:00:10 +05:30
Kovid Goyal
39ba5e271f ... 2026-06-25 16:26:42 +05:30
Kovid Goyal
253d6561de pep8 2026-06-25 16:23:15 +05:30
Kovid Goyal
76e7363311 Merge branch 'copilot/replace-ctypes-with-c-functions' of https://github.com/kovidgoyal/kitty
Fixes #10190
2026-06-25 16:22:30 +05:30
copilot-swe-agent[bot]
c2e7ee19d2 Change set_uint_at_address to use METH_FASTCALL, skip ctypes test on intel macs 2026-06-25 10:49:19 +00:00
copilot-swe-agent[bot]
f6d813dc26 Fix NULL address check and add docstring to set_uint_at_address 2026-06-25 10:39:14 +00:00
copilot-swe-agent[bot]
c35ff2e843 Replace ctypes in marks.py with C-level set_uint_at_address function 2026-06-25 10:35:11 +00:00
Kovid Goyal
9b2c7ddcf5 Merge branch 'Spelling' of https://github.com/bjoernab/kitty 2026-06-25 04:33:23 +05:30
bjoernab
9e54a4e08c Fixed some spelling 2026-06-24 22:27:17 +02:00