Commit Graph

15268 Commits

Author SHA1 Message Date
Kovid Goyal
0339d59851 Wayland: Fix mouse pointer position update not being sent when focus regained
GLFW Wayland backend was not sending a cursor position input event on
mouse entering the window surface.

Fixes #8397
2025-03-04 06:03:42 +05:30
Kovid Goyal
a896518b54 Add a note about detecting partial keyboard protocol implementations
I believe there exists at least one such implementation in the wild, in
zellij. Sigh.
2025-03-03 05:23:15 +05:30
Kovid Goyal
60975067fb Merge branch 'master-session-os-window-name' of https://github.com/gtjoseph/kitty 2025-03-03 05:19:30 +05:30
George Joseph
d2288ee787 Add support for os_window_name in startup sessions.
You can now specify `os_window_name` in addition to `os_window_class` in
startup sessions.  It works for the initial session as well as new sessions
started with `new_os_window`.

Updated documentation in overview.rst to add `os_window_name` in the
Startup Session examples.

Although not related to this feature. The documentation in launch.py
was updated to note that the `launch --type` `tab` and `os-window` options
aren't supported when launch is invoked from a startup script.  There's
already a note to that effect in the "Startup Sessions" section in
overview.rst but if you're looking at the launch syntax page like I was,
you wouldn't realize the limitation. This was throwing me for a loop while
wotking on this PR.

Resolves: #8387
2025-03-02 14:10:17 -07:00
Kovid Goyal
ac9ed921d7 Temp fix for failing fish integration test
fish >= 3.8 wants to send shell integration OSC 133 itself. However it
does not send the cmdline_url parameter, causing our integration tests
to fail. Temporarily fix by commenting out the tests for it.

Fixes #8385
2025-03-02 15:41:47 +05:30
Kovid Goyal
b568c77aec ... 2025-02-28 12:20:59 +05:30
Kovid Goyal
c43fe38cf1 macOS: Fix waiting for result from desktop notification not working 2025-02-27 19:38:06 +05:30
Kovid Goyal
188c209b2c ... 2025-02-27 19:14:02 +05:30
Kovid Goyal
e825ae4858 Document a whole bunch of OSC codes used by other projects in the parser 2025-02-27 10:49:09 +05:30
Kovid Goyal
de1ab142aa Dont propagate VTE_VERSION
VTE stupidly installs the shell integration script system wide keyed on
the presence of VTE_VERSION env var. Which will be set if kitty is
launched from a VTE based terminal. Sigh.
2025-02-26 15:45:09 +05:30
Kovid Goyal
4fb61ac8f3 Better error message for OSC 666 2025-02-26 09:43:27 +05:30
Kovid Goyal
c32e7ce7ab Remove git credentials after checkout 2025-02-24 12:00:58 +05:30
Kovid Goyal
4d0dc28dda Merge branch 'dependabot/go_modules/all-go-deps-214b2fb350' of https://github.com/kovidgoyal/kitty 2025-02-24 08:41:55 +05:30
dependabot[bot]
2320081d2c Bump github.com/google/go-cmp in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/google/go-cmp](https://github.com/google/go-cmp).


Updates `github.com/google/go-cmp` from 0.6.0 to 0.7.0
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 03:07:00 +00:00
Kovid Goyal
9068d3f925 Fix #8361 2025-02-23 18:00:38 +05:30
Kovid Goyal
448e97549b Add a note about background_opacity non-linearity 2025-02-23 17:08:23 +05:30
Kovid Goyal
e989687ae7 ... 2025-02-23 11:05:37 +05:30
Kovid Goyal
2a714928db When dragging in rectangle select mode use a crosshair mouse cursor 2025-02-23 10:32:54 +05:30
Kovid Goyal
1effdd8078 Fix #8362 2025-02-23 09:11:04 +05:30
Kovid Goyal
69eda4a904 cache process data when checking for active processes 2025-02-21 17:15:57 +05:30
Kovid Goyal
5e75e06170 Clarify text 2025-02-21 14:43:05 +05:30
Kovid Goyal
fb3c94b997 ... 2025-02-21 14:32:42 +05:30
Kovid Goyal
ba31763acf Consider windows with background processes as active for confirm_close
Fixes #8358
2025-02-21 14:26:12 +05:30
Kovid Goyal
f585175f0a Dont abort if scaling is too small and we cant reduce font size enough 2025-02-19 21:00:40 +05:30
Kovid Goyal
2907999131 Use the same algorithm for rendering box cells and font based cells
Should make things easier to change in tandem in future.
2025-02-19 17:05:43 +05:30
Kovid Goyal
0c7dd7edb2 Implement horizontal alignment for font based rendering
Still need to do it for box chars
2025-02-19 09:04:22 +05:30
Kovid Goyal
15f711d6b5 Start work on horizontal align for multicells 2025-02-19 07:50:40 +05:30
Kovid Goyal
714910382b Remove redundant code 2025-02-19 06:02:31 +05:30
Kovid Goyal
bedc2ea1b9 Reduce num of bits used for x/y multicell 2025-02-19 05:53:07 +05:30
Kovid Goyal
e60b95d219 Fix leading space in a cell text causing the cell to not be rendered 2025-02-19 05:41:16 +05:30
Kovid Goyal
c4ef0a0eef Add another test 2025-02-19 05:26:03 +05:30
Kovid Goyal
758817c3c8 Only modify prompt_kind in resize.c 2025-02-19 05:08:27 +05:30
Kovid Goyal
a57cb3c1d1 Merge branch 'fix-prompt-scroll-and-cmd-paging' of https://github.com/rivenirvana/kitty 2025-02-19 04:26:12 +05:30
Arvin Verain
a5cafdd8e9 test: Add more tests for scroll_to_prompt, fco, and lvco 2025-02-19 00:30:04 +08:00
Arvin Verain
ccffbd23ce fix: First on screen paging fix when prompt is obscured in scrollback 2025-02-19 00:30:03 +08:00
Arvin Verain
e23d6877c0 fix: Page cmd outputs properly regardless of amount of prompt lines
Also skip fetching lines of wrapped prompts
2025-02-19 00:30:03 +08:00
Kovid Goyal
bbe7e63970 Merge branch 'patch-1' of https://github.com/JakeWharton/kitty 2025-02-18 21:52:08 +05:30
Jake Wharton
7d954b9395 Add missing period between sentences to keyboard docs 2025-02-18 11:07:13 -05:00
Kovid Goyal
375583259a Fix --hold always restoring cursor to block shape instead of respecting the value of cursor_shape 2025-02-18 20:21:07 +05:30
Kovid Goyal
359d9e12e8 Fix @selection not being expanded when calling handle_result in a kitten 2025-02-18 20:11:00 +05:30
Kovid Goyal
ba24ce52df ... 2025-02-18 19:46:45 +05:30
Kovid Goyal
8f44e16b89 Fix scroll_to_prompt after resize that causes prompt line wrapping not accurate
See #8334
2025-02-18 19:40:23 +05:30
Kovid Goyal
f29bc638ce Remote control: allow scrolling to prev/next prompt 2025-02-18 19:17:10 +05:30
Kovid Goyal
eb5a9bc6a3 ... 2025-02-18 19:02:32 +05:30
Kovid Goyal
6f57537f30 Fix failing test 2025-02-18 18:44:57 +05:30
Kovid Goyal
45d931f61c Dont abort for too small scaled font sizes 2025-02-18 17:06:12 +05:30
Kovid Goyal
c520b0b1b9 Add test for PR #8322 2025-02-18 10:08:41 +05:30
Kovid Goyal
4956009759 Merge branch 'patch-1' of https://github.com/JakeWharton/kitty 2025-02-18 10:04:37 +05:30
Jake Wharton
5d90c842ea Use semicolon to respond to OSC 22 2025-02-17 23:24:11 -05:00
Kovid Goyal
9231d0d12f Add snacks.nvim to integrations 2025-02-18 09:32:58 +05:30