Commit Graph

13729 Commits

Author SHA1 Message Date
Kovid Goyal
139f56b2eb Port the code to set window size limits to wl_decor 2024-04-03 18:55:27 +05:30
Kovid Goyal
84ef1dce92 Migrate setting of title and app id to wl_decor 2024-04-03 18:55:27 +05:30
Kovid Goyal
14c0d76f86 Port set minimized to wl_decor 2024-04-03 18:55:27 +05:30
Kovid Goyal
fbc2b4fc1c Migrate maximized state management to wl_decor 2024-04-03 18:55:27 +05:30
Kovid Goyal
d557d4cbec Migrate setting of fullscreen to wl_decor 2024-04-03 18:55:27 +05:30
Kovid Goyal
16b5948c95 ... 2024-04-03 18:55:26 +05:30
Kovid Goyal
4e9e833397 Only initialize edge_spacing_func if glfw init succeeds 2024-04-03 18:55:26 +05:30
Kovid Goyal
1f15002ace Set GDK_BACKEND if needed before loading libdecor 2024-04-03 18:55:26 +05:30
Kovid Goyal
886ca2d0e6 Store library handle in funcs struct 2024-04-03 18:55:26 +05:30
Kovid Goyal
45f3577f35 O_CLOEXEC for linux joystick open 2024-04-03 18:55:26 +05:30
Kovid Goyal
8b66c3faa4 Propagate failures to get video mode 2024-04-03 18:55:26 +05:30
Kovid Goyal
5346c95ff4 Integrate libdecor into event loop 2024-04-03 18:55:26 +05:30
Kovid Goyal
aecacb0295 Note that file transfer wont work through tmux in the FAQ 2024-04-03 18:55:26 +05:30
Kovid Goyal
34ddcaaa57 Create decoration context 2024-04-03 18:55:26 +05:30
Kovid Goyal
92253521b1 dlopen libdecor 2024-04-03 18:55:26 +05:30
Kovid Goyal
aae1c81840 Update changelog 2024-04-03 18:54:51 +05:30
Kovid Goyal
23779da2dc Provide access to the current keyboard mode in the tab_title_template 2024-04-01 22:12:49 +05:30
Kovid Goyal
d51c342cbd Merge branch 'dependabot/go_modules/all-go-deps-ae103a535c' of https://github.com/kovidgoyal/kitty 2024-04-01 09:12:59 +05:30
dependabot[bot]
e0c7eefc84 Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil).


Updates `github.com/shirou/gopsutil/v3` from 3.24.2 to 3.24.3
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.24.2...v3.24.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 03:37:17 +00:00
Kovid Goyal
5a62bbdd33 Revert "Wayland: Add support for pointer frame events. Code taken with thanks from SDL"
This reverts commit 506be129e1.
Seems to have broken wheel scrolling and I lake the time/interest to
debug why. Since this commit didnt actually solve any real issue revert
it for now. Revisit in the future when I have more bandwidth.

Fix #7287
2024-03-31 20:33:58 +05:30
Kovid Goyal
94a612c4df fish shell integration: Cleanup detection and binding of passive cursor movement functions
https://github.com/fish-shell/fish-shell/issues/10397#issuecomment-2028585536
Thanks @krobelus
2024-03-31 13:22:31 +05:30
Kovid Goyal
b0d29e7348 Add a note that sway bg covers kitten bg 2024-03-31 12:20:45 +05:30
Kovid Goyal
0965155935 Make the scrollback indicator visible by default 2024-03-31 12:15:05 +05:30
Kovid Goyal
5548b1aa21 ... 2024-03-31 12:02:55 +05:30
Kovid Goyal
775b7c4758 fish shell integration: Fix clicking at the prompt causing autosuggestions to be accepted, needs fish >= 3.8.0
Fixes #7168
2024-03-31 11:57:53 +05:30
Kovid Goyal
f4fe015261 Support a special key mode for moving cursor at marked prompts
Needed for fish integration because the arrow keys cause auto-complete
to trigger.
2024-03-31 11:19:35 +05:30
Kovid Goyal
0c6fa47789 Wayland IME: Fix a bug with handling synthetic keypresses generated by ZMK keyboard + fcitx5
Fixes #7283
2024-03-31 09:42:28 +05:30
Kovid Goyal
274a9d7759 Suppress an unused header warning 2024-03-30 11:41:23 +05:30
Kovid Goyal
7796c15248 Suppress spurious warning from clangd 2024-03-30 11:37:01 +05:30
Kovid Goyal
ce035361e8 ruff deprecations 2024-03-29 13:44:36 +05:30
Kovid Goyal
d260c0a679 ... 2024-03-29 13:31:31 +05:30
Kovid Goyal
c72963dfc5 Use requires-python in pyproject.toml to specify python requirement 2024-03-29 13:23:09 +05:30
Kovid Goyal
4fe65f75bc Move to using ruff for formatting 2024-03-29 12:09:24 +05:30
Kovid Goyal
a61a48d876 Add an example of using a different separator to combine docs 2024-03-29 10:43:38 +05:30
Kovid Goyal
9ac4e6b64e add a link to select_tab in goto_tab docs 2024-03-29 10:14:06 +05:30
Kovid Goyal
a695b4ebe1 Link to tgutui in the integrations doc 2024-03-28 21:31:05 +05:30
Kovid Goyal
700b57bc18 Implement a simple scroll progress indicator
Shows a simple bar on the right edge of the window that moves up as you
scroll further back. There are apparently a lot of people that dont use
a pager for browsing large scrollbacks. I will never understand this,
but, what the hell I was in that code area anyway for other reasons.

TODO: Maybe make it a rounded rectangle
2024-03-28 20:33:35 +05:30
Kovid Goyal
c9f8596357 Switch to LSP for mypy 2024-03-28 19:36:07 +05:30
Kovid Goyal
4b282211de Fix #7276 2024-03-28 18:15:10 +05:30
Kovid Goyal
506be129e1 Wayland: Add support for pointer frame events. Code taken with thanks from SDL 2024-03-28 15:32:59 +05:30
Kovid Goyal
d38c986c82 ... 2024-03-28 10:43:53 +05:30
Kovid Goyal
399a9d65d2 Improve docs on how to use icat without access to the TTY device 2024-03-28 09:23:23 +05:30
Kovid Goyal
8335a5212e macOS: Fix an abort due to an assertion when a program tries to set an invalid window title
Fixes #7271
2024-03-27 19:02:43 +05:30
Kovid Goyal
e5a7554c30 Forgot to handle suspend/resume in example code for setting uservar in nvim 2024-03-26 22:04:08 +05:30
Kovid Goyal
5d5f3ff1b5 Add --app-id as alias for --class
On Wayland we have application ids instead of WM_CLASS. Bloody dumb.
2024-03-26 19:59:59 +05:30
Kovid Goyal
aca13a619a Retry all the ssh kitten tests on failure once 2024-03-26 19:45:20 +05:30
Kovid Goyal
dd879c413a Initialize temp wayland buffer with background color 2024-03-26 19:31:27 +05:30
Kovid Goyal
f8dda12024 Lower the limit of number of fallback fonts again
No need to raise as the issue was caused bya  bug in fontconfig
2024-03-26 18:33:55 +05:30
Kovid Goyal
d2c21ee297 Workaround for fontconfig returning junk in all but the lowest eight bits for FC_INDEX
Fixes #7263
2024-03-26 18:32:44 +05:30
Kovid Goyal
351e96ca75 Ensure temp buffer is destroyed once normal swapping is in place 2024-03-26 17:13:31 +05:30