Commit Graph

18505 Commits

Author SHA1 Message Date
Kovid Goyal
fab7ce90db Agent neutral instructions 2026-07-06 11:18:16 +05:30
Kovid Goyal
4e01ab48cc ... 2026-07-06 09:35:04 +05:30
Kovid Goyal
a16ee94f12 Merge branch 'dependabot/github_actions/actions-0faa7b25e7' of https://github.com/kovidgoyal/kitty 2026-07-06 09:32:54 +05:30
Kovid Goyal
a97243613e Merge branch 'dependabot/go_modules/all-go-deps-8549c3adfb' of https://github.com/kovidgoyal/kitty 2026-07-06 09:32:43 +05:30
Kovid Goyal
93552eba08 Fix race between starting talk thread and calling wakeup_talk_thread 2026-07-06 09:31:46 +05:30
dependabot[bot]
8e9f335012 Bump the actions group with 3 updates
Bumps the actions group with 3 updates: [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/setup-python` from 6.2.0 to 6.3.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6.2.0...v6.3.0)

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

Updates `actions/cache` from 5.0.5 to 6.1.0
- [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.0.5...v6.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/setup-go
  dependency-version: 6.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/cache
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-06 03:45:02 +00:00
dependabot[bot]
20f7bdb4e0 Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/emmansun/base64](https://github.com/emmansun/base64) and [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil).


Updates `github.com/emmansun/base64` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/emmansun/base64/releases)
- [Commits](https://github.com/emmansun/base64/compare/v0.9.0...v0.10.0)

Updates `github.com/shirou/gopsutil/v4` from 4.26.5 to 4.26.6
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v4.26.5...v4.26.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-06 03:42:57 +00:00
Kovid Goyal
d348fbc17a ... 2026-07-06 09:09:43 +05:30
Kovid Goyal
d5cac0100e Fix remote_control_script not working in a kitty instance run from inside another kitty instance 2026-07-06 09:08:43 +05:30
Kovid Goyal
c1660a4e83 track child exit code on window object 2026-07-06 08:23:09 +05:30
Kovid Goyal
6614f402ee ... nightly 2026-07-05 20:03:36 +05:30
Kovid Goyal
5ca4805b43 Fix text overflow in choose files search box caused by move to readline 2026-07-05 18:01:42 +05:30
Kovid Goyal
011ef4d319 Use readline for the choose files search input 2026-07-05 15:16:11 +05:30
Kovid Goyal
31eb21f9f5 ... 2026-07-05 15:06:29 +05:30
Kovid Goyal
adcce6f8b9 ... 2026-07-05 14:56:50 +05:30
Kovid Goyal
b90e2124e0 Fix #10225 2026-07-05 13:38:48 +05:30
Kovid Goyal
60a128a5c4 Add CLAUDE.md 2026-07-05 12:30:53 +05:30
Kovid Goyal
99c80d8b69 Improve docs 2026-07-05 11:01:43 +05:30
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