Commit Graph

14966 Commits

Author SHA1 Message Date
Kovid Goyal
8264a38d98 Micro-optimization 2025-01-29 06:12:16 +05:30
Kovid Goyal
4f0f9b9aff Fix #8262 2025-01-27 21:13:45 +05:30
Kovid Goyal
1f33677c1a ... 2025-01-27 09:12:15 +05:30
Kovid Goyal
979d3740df Merge branch 'dependabot/go_modules/all-go-deps-0e07614b74' of https://github.com/kovidgoyal/kitty 2025-01-27 08:59:32 +05:30
dependabot[bot]
42630da17b Bump github.com/bmatcuk/doublestar/v4 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar).


Updates `github.com/bmatcuk/doublestar/v4` from 4.8.0 to 4.8.1
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: github.com/bmatcuk/doublestar/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 03:22:54 +00:00
Kovid Goyal
040caec04c ... 2025-01-26 22:48:33 +05:30
Kovid Goyal
1266835ef7 Fix #8252 2025-01-26 17:58:54 +05:30
Kovid Goyal
b52894c0d3 ... 2025-01-23 05:58:02 +05:30
Kovid Goyal
ea9afc6e89 watchers: Add a new event on_color_scheme_preference_change
Fixes #8246
2025-01-23 05:36:25 +05:30
Kovid Goyal
a754c8280f Fix #8244 2025-01-22 19:01:55 +05:30
Kovid Goyal
0c47f81187 Remove special casing for Hyprland
Hyprland has now been fixed to send only a single fractional scale
event, so no need for special casing it.
2025-01-22 18:53:46 +05:30
Kovid Goyal
5e41de9505 ... 2025-01-21 16:43:18 +05:30
Kovid Goyal
0527db876b Wayland niri: Fix 250ms delay on startup when using scale 1
We special case Hyprland, hopefully the special casing can be removed
once https://github.com/hyprwm/Hyprland/issues/9126 is fixed.

Fixes #8236
2025-01-21 16:40:32 +05:30
Kovid Goyal
447fe503bf ... 2025-01-21 15:58:08 +05:30
Kovid Goyal
b256f56afb ... 2025-01-21 15:13:54 +05:30
Kovid Goyal
7346aca56d Function to probe for Wayland compositor name
Maybe needed to workaround #8236
2025-01-21 15:10:07 +05:30
Kovid Goyal
5335d183c1 Merge branch 'dependabot/go_modules/all-go-deps-b3dadbe55f' of https://github.com/kovidgoyal/kitty 2025-01-20 08:53:41 +05:30
dependabot[bot]
1ba276a446 Bump github.com/bmatcuk/doublestar/v4 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar).


Updates `github.com/bmatcuk/doublestar/v4` from 4.7.1 to 4.8.0
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.7.1...v4.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 03:16:15 +00:00
Kovid Goyal
643e534053 Do not call monotonic() when changing cursor position
monotonic() is extremely slow. This call was halving the CSI parsing
speed benchmark. Instead we use the time at which parsing of the current
input chunk was started. This should be within a few microseconds and
accurate enough for the cursor trail for which it is used.
2025-01-17 21:41:02 +05:30
Kovid Goyal
9bf44f0b85 oops 2025-01-17 20:28:59 +05:30
Kovid Goyal
8931062a70 hints kitten: Workaround for some broken light color themes that make the hints text color too low contrast to read
Fixes #7330
2025-01-17 20:22:10 +05:30
Kovid Goyal
182bd9c7b3 Pass the basic colors of the underlying window as an env var when running a UI kitten
Allows UI kittens to choose colors without needing a roundtrip to query
the terminal for colors
2025-01-17 19:28:55 +05:30
Kovid Goyal
069868f89d Splits layout: Special case move_to_edge when there is a single split to preserve bias 2025-01-17 08:41:54 +05:30
Kovid Goyal
c600451bb8 Splits layout: Allow setting the bias of the current split using layout_action bias
Fixes #8222
2025-01-17 08:37:07 +05:30
Kovid Goyal
0ecbc2b786 Only log an error about modifyOtherKeys if the application attempts to turn it on without first turning on the kitty keyboard protocol 2025-01-16 20:30:09 +05:30
Kovid Goyal
0ffaaff8a7 Fix #8220 2025-01-16 13:21:31 +05:30
Kovid Goyal
081c061538 Clarify prefix usage 2025-01-16 11:52:37 +05:30
Kovid Goyal
7a9e5d9dcb ... 2025-01-16 11:50:43 +05:30
Kovid Goyal
1f920ecc77 version 0.39.0 v0.39.0 2025-01-16 09:14:51 +05:30
Kovid Goyal
d7ce3eb66e Keyboard events: Fix turning on only the "Report all keys as escape codes" enhancement not reporting modifier+enter/tab/backspace using escape codes 2025-01-12 19:11:19 +05:30
Kovid Goyal
abd33630da Fix #8214 2025-01-12 19:07:36 +05:30
Kovid Goyal
e270fa6c9c Merge branch 'patch-1' of https://github.com/kidonng/kitty 2025-01-10 14:43:49 +05:30
Kid
28e266808e Fix repology link in quickstart doc 2025-01-10 17:02:52 +08:00
Kovid Goyal
5004cf2dbf Make the primary use case for remote control via socket explicit 2025-01-10 09:12:29 +05:30
Kovid Goyal
7722ba8b8a Merge branch 'patch-1' of https://github.com/jzbrooks/kitty 2025-01-09 21:50:08 +05:30
Justin Brooks
4ee1a6a6ee Add vat to list of applications that use the protocol 2025-01-09 09:37:23 -05:00
Kovid Goyal
2dc6300f55 Fix #8205 2025-01-09 11:29:31 +05:30
Kovid Goyal
ed7a096503 When reloading configuration fix auto color themes not being re-applied
Fixes #8203
2025-01-08 10:27:12 +05:30
Kovid Goyal
cad319a3c7 Bump minimum python version to 3.10
3.9 is EOL in a few months and I am tired of typing Optional
2025-01-07 12:07:01 +05:30
Kovid Goyal
9a6e7e4cdf ... 2025-01-07 11:55:07 +05:30
Kovid Goyal
d7207edf2b DRYer 2025-01-07 11:54:06 +05:30
Kovid Goyal
42e0f98a27 ... 2025-01-07 10:36:59 +05:30
Kovid Goyal
69aead6d3d query_terminal: Add support for reporting name of the OS the terminal emulator is running on
Fixes #8201
2025-01-07 08:21:53 +05:30
Kovid Goyal
a3d6bf7a2c ... 2025-01-06 21:57:31 +05:30
Kovid Goyal
1eeea70c7a Allow dynamically generating configuration by running an arbitrary program using the new geninclude directive 2025-01-06 19:00:01 +05:30
Kovid Goyal
6d90813a48 Merge branch 'dependabot/go_modules/all-go-deps-8dcba17bc7' of https://github.com/kovidgoyal/kitty 2025-01-06 11:05:34 +05:30
Kovid Goyal
ac4bb282ee ... 2025-01-06 11:04:31 +05:30
dependabot[bot]
716f86c7f6 Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/alecthomas/chroma/v2` from 2.14.0 to 2.15.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.14.0...v2.15.0)

Updates `golang.org/x/sys` from 0.28.0 to 0.29.0
- [Commits](https://github.com/golang/sys/compare/v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 03:22:12 +00:00
Kovid Goyal
da3bb0a4cb Use truncated hostnames in zsh integration window title 2025-01-06 08:15:23 +05:30
Kovid Goyal
dc41fb3b1d Merge branch 'recommend-vim-theme' of https://github.com/deviantintegral/kitty 2025-01-06 08:12:15 +05:30