Commit graph

13746 commits

Author SHA1 Message Date
Kovid Goyal
2c4ffba0f3
Wayland: A new option to turn off IME 2024-04-05 14:56:11 +05:30
Kovid Goyal
f9e38d3311
Nicer debug output for IME text commit event 2024-04-05 13:53:17 +05:30
Kovid Goyal
1317a7c4ac
show-key kitten: Show plain text received not associated with a key event 2024-04-05 13:40:41 +05:30
Kovid Goyal
8f19d7aa8b
... 2024-04-05 13:29:56 +05:30
Kovid Goyal
18b595a7e7
Map keymap fd using MAP_PRIVATE as required by the spec
Also report failures
2024-04-05 13:10:04 +05:30
Kovid Goyal
676c426e87
Use 1 rather than 0 as the keycode for the special mouse click key in fish
zero is used for key events from the wayland text input system that have
only text and no associated key
2024-04-05 13:01:58 +05:30
Kovid Goyal
0198b7fa5a
... 2024-04-05 12:57:58 +05:30
Kovid Goyal
8413d298df
remove unused code 2024-04-05 12:09:08 +05:30
Kovid Goyal
77d637cc47
Wayland GNOME: Less jarring title introducer in CSD 2024-04-05 11:44:43 +05:30
Kovid Goyal
9faeb3e2ce
Add the XM and xm terminfo capabilities
These are apparently used by vim for mouse protocol detection. Sigh.
2024-04-05 08:08:00 +05:30
Kovid Goyal
1bffe89b5d
Wayland GNOME: titlebar color now follows system theme
When GNOME system theme is default, the color matches the background
color. When it is dark it is dark.
2024-04-04 21:52:56 +05:30
Kovid Goyal
bdfa57039c
Get rid of frame dependent size storage in kitty layer
This unifies behaviour with CSD and SSD. Now, in both cases the
remembered size is the size of the content area.
2024-04-04 19:39:02 +05:30
Kovid Goyal
f51c2f08a5
DRYer 2024-04-04 19:11:21 +05:30
Kovid Goyal
ecee7086a8
Report compositor missing capabilities in debug output 2024-04-04 16:56:13 +05:30
Kovid Goyal
76999d1a67
Fix creation of single pixel buffer to use 32 bits per color channel 2024-04-04 16:13:28 +05:30
Kovid Goyal
20375ee77a
Fix #7310 2024-04-04 15:08:58 +05:30
Kovid Goyal
cd67184432
Output some info about compositor capabilities for --debug-rendering 2024-04-04 11:46:41 +05:30
Kovid Goyal
b3197e4498
Wayland: Add fractional scale support to CSD 2024-04-04 11:25:17 +05:30
Kovid Goyal
90d2b8330a
... 2024-04-04 10:59:51 +05:30
Kovid Goyal
02c6f024d1
Merge branch 'master' of https://github.com/kindhuge/kitty 2024-04-04 10:56:22 +05:30
kindhuge
32905bbf5d chore: remove repetitive words
Signed-off-by: kindhuge <huangpengfei@outlook.com>
2024-04-04 13:19:49 +08:00
Kovid Goyal
bddc552433
... 2024-04-04 10:40:09 +05:30
Kovid Goyal
1f1f1f60ac
Only initialize edge_spacing_func if glfw init succeeds 2024-04-04 10:31:43 +05:30
Kovid Goyal
6adf4f5171
O_CLOEXEC for linux joystick open 2024-04-04 10:31:33 +05:30
Kovid Goyal
b76e94059d
Propagate failures to get video mode 2024-04-04 10:31:30 +05:30
Kovid Goyal
ad039c703c
Note that file transfer wont work through tmux in the FAQ 2024-04-04 10:31:24 +05:30
Kovid Goyal
efc1509d87
Report errors parsing symbol_map more prominently to user 2024-04-04 09:13:03 +05:30
Kovid Goyal
7071452e6e
Fix #7308 2024-04-04 09:08:23 +05:30
Kovid Goyal
b4bba99678
Use single pixel buffer protocol for more efficient temp buffer creation 2024-04-04 09:00:33 +05:30
Kovid Goyal
d3b5e86f30
Account for layouts like the stack layout that hide windows when deciding the value of inactive_text_alpha 2024-04-04 06:01:26 +05:30
Kovid Goyal
16e3b8e0fd
Merge branch 'fix-text-alpha-inactive-os-window' of https://github.com/happenslol/kitty 2024-04-04 05:59:05 +05:30
Hilmar Wiegand
20e9549afe Update rules for inactive_text_alpha
Previously, all windows would be drawn with inactive_text_alpha if the
os window was unfocused. This changes the rules to the following:

- If there is a single window and the os window is unfocused, use
inactive_text_alpha.
- If there are multiple windows, use inactive_text_alpha for all
non-active windows, regardless of os window focus.
2024-04-03 20:40:22 +02:00
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