Commit Graph

13059 Commits

Author SHA1 Message Date
Kovid Goyal
5583f60289 Fix #6943 2023-12-25 08:33:54 +05:30
Kovid Goyal
4519b3abee Enable cursor shape on Wayland
Cant replicate the hyprland crash, so am not going to bother about it.

Fixes #6914
2023-12-24 22:56:01 +05:30
Kovid Goyal
cff490f881 Wayland: Add support for the new cursor-shape protocol
It is currently disabled because no compositor seems to support it.
Hyprland reports it as available but using it causes Hyprland to crash.
Plasma 6 is supposed to have it but I am not installing a beta just for
this.

Typical Wayland.
2023-12-24 18:45:17 +05:30
Kovid Goyal
7d8c017215 DRYer 2023-12-24 15:03:56 +05:30
Kovid Goyal
91cdf4af00 kitty keyboard protocol: Specify the behavior of the modifier bits during modifier key events
Fixes #6913
2023-12-24 12:09:13 +05:30
Kovid Goyal
79db8b43e0 Make mypy happy 2023-12-22 06:43:12 +05:30
Kovid Goyal
c03d99e744 Update changelog 2023-12-22 06:20:38 +05:30
Kovid Goyal
7c0cb5481f Merge branch 'master' of https://github.com/FelixKratz/kitty 2023-12-22 06:19:38 +05:30
Felix Kratz
912c5ce4f9 dont reuse cascade point on another display
fix wording

reset cascade point to zero point
2023-12-21 11:30:50 +01:00
Kovid Goyal
39a3c38037 Merge branch 'patch-1' of https://github.com/arthurbacci/kitty 2023-12-21 08:08:59 +05:30
Kovid Goyal
5dfe4427cf Note that the rio terminal also supports the kitty keyboard protocol 2023-12-21 08:07:27 +05:30
Arthur Bacci
b2eac37164 Fix copy-paste typo in graphics-protocol.rst 2023-12-20 15:44:53 -03:00
Kovid Goyal
ec8b7853c5 Improve docs for resize_on_debounce 2023-12-19 17:39:54 +05:30
Kovid Goyal
d9903f5283 Add a note for what to do instead of --detach on macOS 2023-12-18 12:04:23 +05:30
Kovid Goyal
ccfb979218 Merge branch 'dependabot/go_modules/all-go-deps-f5d2d9a206' of https://github.com/kovidgoyal/kitty 2023-12-18 09:52:42 +05:30
dependabot[bot]
ff8387f8e7 Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/google/uuid](https://github.com/google/uuid).

- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 03:31:14 +00:00
Kovid Goyal
017947de7f panel kitten: Fix rendering with non-zero margin.padding in kitty.conf
Fixes #6923
2023-12-17 11:12:49 +05:30
Kovid Goyal
2a5ba519f5 Fix #6923 2023-12-17 10:50:18 +05:30
Kovid Goyal
b2587c1d54 Fix modifier reporting on macOS
We make use of the fact that the device dependent modifiers flags
actually report left/right modifier. Code taken form SDL, with thanks.
2023-12-14 11:31:48 +05:30
Kovid Goyal
7e5230e6f4 more grammar 2023-12-14 09:06:16 +05:30
Kovid Goyal
64cfe8171f ... 2023-12-14 08:55:43 +05:30
Kovid Goyal
a9b424e307 Keyboard protocol: Clarify the behavior of the modifier bits during modifier key events
I cant find any relevant standards for this, so am just picking the
macOS behavior as it seems more sensible to me.

Fixes #6913
2023-12-14 08:50:19 +05:30
Kovid Goyal
d9ccbcd0ce Font fallback: Fix the font used to render a character sometimes dependent on the order in which characters appear on screen
We ameliorate the performance hit by storing a hash table mapping cell
text to the loaded fallback font index so that lookups for previously
seen text are still fast.

Fixes #6865
2023-12-11 20:27:21 +05:30
Kovid Goyal
7cec82f453 Merge branch 'dependabot/go_modules/all-go-deps-8acd87a792' of https://github.com/kovidgoyal/kitty 2023-12-11 11:04:46 +05:30
dependabot[bot]
18c0a449d2 Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma).

- [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.11.1...v2.12.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
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 03:22:52 +00:00
Kovid Goyal
00f8f340bf macOS: Fix returning from full screen via the button when the titlebar is hidden not hiding the buttons
Fixes #6883
2023-12-10 22:30:15 +05:30
Kovid Goyal
e9e889457d macOS: Fix some combining characters not being rendered
Use Harfbuzz for positioning instead of Core Text as Core Text doesn't
position combining chars correctly anymore. This may mean we need to
redo the cell metrics calculation as well, we will see. Core Text is
still used for rendering but at positions specified by Harfbuzz.

Fixes #6898
2023-12-10 20:30:24 +05:30
Kovid Goyal
d41138c4c6 Make units_per_em available in do_render 2023-12-10 15:29:03 +05:30
Kovid Goyal
69a5c7e3b2 Wayland: Fix a regression in the previous release that broke copying to clipboard under wl-roots based compositors in some circumstances
As is usual in Wayland land, utter chaos. Divergent implementations,
incorrect interpretations of the spec, bla bla.

Fixes #6890
2023-12-08 08:38:08 +05:30
Kovid Goyal
92befa26db Fix #6889 2023-12-07 09:30:04 +05:30
Kovid Goyal
22ac57c374 Another terminal emulator adds support for the kitty keyboard protocol 2023-12-06 16:32:27 +05:30
Kovid Goyal
392a301cd8 Note how to to use hints to open hyperlinks 2023-12-05 07:50:35 +05:30
Kovid Goyal
a1f2a7df4d Port new shlex code to Go 2023-12-04 14:14:11 +05:30
Kovid Goyal
04eafbea9b Implement better syntax highlighting for the new map 2023-12-04 11:54:49 +05:30
Kovid Goyal
cf6c00cebe Merge branch 'dependabot/go_modules/all-go-deps-e63ccaec5d' of https://github.com/kovidgoyal/kitty 2023-12-04 08:59:17 +05:30
dependabot[bot]
08da87a622 Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) and [howett.net/plist](https://github.com/DHowett/go-plist).


Updates `github.com/shirou/gopsutil/v3` from 3.23.10 to 3.23.11
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.10...v3.23.11)

Updates `howett.net/plist` from 1.0.0 to 1.0.1
- [Commits](https://github.com/DHowett/go-plist/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- dependency-name: howett.net/plist
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 03:25:11 +00:00
Kovid Goyal
59e3b202b9 Update changelog 2023-12-03 21:11:52 +05:30
Kovid Goyal
a7bdbb11f2 Document the new modal keymaps 2023-12-03 21:09:26 +05:30
Kovid Goyal
b9fabc62a5 ... 2023-12-03 21:07:01 +05:30
Kovid Goyal
d483c3eb33 Fix literal field parsing 2023-12-03 20:55:47 +05:30
Kovid Goyal
d191896528 Allow more options for what to do in a custom keyboard mode on unknown and action events 2023-12-03 20:07:29 +05:30
Kovid Goyal
ca6c607148 pop_keyboard_mode should return True when nothing is done 2023-12-03 19:12:58 +05:30
Kovid Goyal
cc5424c054 ... 2023-12-03 19:02:46 +05:30
Kovid Goyal
77551cdfc1 Weird macOS docs build failure 2023-12-03 15:06:12 +05:30
Kovid Goyal
c6eab841f9 Send repeat events instead of repeated presses 2023-12-03 13:29:13 +05:30
Kovid Goyal
99995fd9dc Remote control API for send-key 2023-12-03 13:23:01 +05:30
Kovid Goyal
74388b4183 A simple action to remap key presses sent to programs running in kitty 2023-12-03 13:08:53 +05:30
Kovid Goyal
f1fc2126bc Refactor the mapping docs 2023-12-03 12:25:15 +05:30
Kovid Goyal
9a0e84293f ... 2023-12-02 16:35:30 +05:30
Kovid Goyal
847ef008e2 Allow spaces in --when-focus-on 2023-12-02 16:23:43 +05:30