Rick Choi
cfed32281d
don't snap to cursor corners
2024-10-24 18:15:37 +09:00
Kovid Goyal
c8e5d5d504
Merge branch 'diff-kitten-copy-fix' of https://github.com/jackielii/kitty
2024-10-24 05:34:08 +05:30
Rick Choi
bbc5003014
normalize decay speed before applying
2024-10-24 07:01:58 +09:00
Jackie Li
2208b3be3a
diff kitten: fix mouse move down up selection
2024-10-23 19:12:25 +01:00
Kovid Goyal
5e7e512d8a
Do not store Screen pointer on CursorTrail
...
The lifetime of the Screen pointer is managed by Window. Also we want
the cursor trail color to be the color of the active window cursor not the
color of the cursor in the last rendered window.
2024-10-20 10:20:42 +05:30
Kovid Goyal
65f0571b2c
Merge branch 'cursor_trail' of https://github.com/jinhwanlazy/kitty
2024-10-20 10:06:48 +05:30
Kovid Goyal
16c82c7c16
Fix alpha conversion for wayland single pixel buffer
2024-10-20 09:35:28 +05:30
Rick Choi
0ef7a4eb1f
fix build error in linux ci
2024-10-19 19:19:50 +09:00
Rick Choi
fe63c6ddfd
last rendered cursor_bg color and re-use it when trail rendering
2024-10-19 18:16:26 +09:00
Rick Choi
25caf90a80
minor refactor
2024-10-19 18:15:46 +09:00
Kovid Goyal
002d0a0403
Preserve trailing blank line on resize always
...
No sense in restricting it to just lines marked as output and only on
main screen.
2024-10-19 14:15:45 +05:30
Kovid Goyal
66251f8fd5
Add test for previous bugfix
...
main screen should have trailing output line preserved when resized on alt screen
2024-10-19 14:02:06 +05:30
Rick Choi
85bc56b813
move trail color decision logic to shader.c
2024-10-19 17:25:30 +09:00
Rick Choi
f64d2d27fb
separate update_cursor_trail function in smaller pieces
2024-10-19 16:53:06 +09:00
Kovid Goyal
9d1a3e5b44
Fix resizing window when alternate screen is active does not preserve trailing blank output line in the main screen
...
Fixes #7978
2024-10-19 13:05:31 +05:30
Rick Choi
af8b563eb0
fix: cursor trail target not updated correctly
2024-10-19 16:30:54 +09:00
Kovid Goyal
ccb5bfd372
...
2024-10-19 12:57:34 +05:30
Kovid Goyal
661d8bc5a7
Allow using dump_lines_with_attrs on either screen
2024-10-19 12:49:04 +05:30
Rick Choi
d9515e91ed
skip target cursor update, instead of skipping trail update when cursor is not valid target
2024-10-19 15:54:24 +09:00
Kovid Goyal
56c7555a25
Move some code into separate functions for clarity and reuse
2024-10-19 11:38:22 +05:30
Kovid Goyal
b66d9332f9
...
2024-10-19 10:51:18 +05:30
Kovid Goyal
ee4b89055f
Add wcswidth to safe_builtins
2024-10-19 09:00:01 +05:30
Kovid Goyal
4644ab3f37
...
2024-10-18 22:24:32 +05:30
Kovid Goyal
359f44d4db
Merge branch 'patch-1' of https://github.com/Arnaudv6/kitty
2024-10-18 22:23:35 +05:30
Arnaud Vallette d'Osia
1c994e0bf4
add aerc + vaxis app / libs implementating kb protocol
2024-10-18 16:38:29 +00:00
Kovid Goyal
61545a83e5
Fix #7982
2024-10-18 21:27:10 +05:30
Kovid Goyal
3a939b6a89
Update changelog
2024-10-18 11:51:39 +05:30
Kovid Goyal
d684a91dfa
code formatting
2024-10-18 11:21:34 +05:30
Kovid Goyal
811dc814a0
Rename variable with better name
...
This is the time at which the cursor was moved by the client not the
time at which it was updated.
2024-10-18 11:09:29 +05:30
Kovid Goyal
463c759bfb
Allow changing the cursor trail threshold time independently of input_delay
2024-10-18 11:09:03 +05:30
Kovid Goyal
cbccda8061
Merge branch 'cursor_trail' of https://github.com/jinhwanlazy/kitty
2024-10-18 10:52:34 +05:30
Kovid Goyal
2efa394dea
Merge branch 'master' of https://github.com/matubu/kitty
2024-10-18 07:27:30 +05:30
Matubu
b0e49d70db
Fix segfault when font descriptor point to invalid font file
2024-10-18 02:31:54 +02:00
Rick Choi
c31f5cf24a
abbreviate ct->cursor_edge_x using macro
2024-10-16 08:21:01 +09:00
Rick Choi
bf7f0ebc46
handle paused_rendering state
2024-10-16 08:03:12 +09:00
Kovid Goyal
d31459b092
tab_title_template allow using the 256 terminal colors for formatting
2024-10-15 11:45:47 +05:30
Kovid Goyal
62d5e13cbd
themes kitten: fix some keybaord shortcuts not working with weird IME systems on Linux that convert key events into text events
2024-10-15 09:51:52 +05:30
Kovid Goyal
a81fd3b1c2
Another fix for mypy 1.12
2024-10-15 08:16:31 +05:30
Kovid Goyal
46c610525c
Make mypy happy, I hope
2024-10-15 07:35:15 +05:30
Kovid Goyal
eda34c64b7
Merge branch 'bash-completion-command_offset' of https://github.com/akinomyoga/kitty
2024-10-14 13:58:21 +05:30
Koichi Murase
8a1f829653
Call _command_offset from bash-completion framework only if available
2024-10-14 15:40:43 +09:00
Kovid Goyal
69e1534087
Merge branch 'dependabot/go_modules/all-go-deps-932d4ea374' of https://github.com/kovidgoyal/kitty
2024-10-14 09:08:26 +05:30
dependabot[bot]
af426364fd
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.6.1 to 4.7.1
- [Release notes](https://github.com/bmatcuk/doublestar/releases )
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.6.1...v4.7.1 )
---
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 >
2024-10-14 03:29:55 +00:00
Rick Choi
aafc083219
fix - trail animation not working smoothly in linux
2024-10-14 10:37:33 +09:00
Rick Choi
e07bcc2218
fix build error
2024-10-14 09:30:40 +09:00
Rick Choi
2bd008f8ca
expose cursor_trail options
2024-10-13 21:10:20 +09:00
Rick Choi
5c5a3c32cf
fix - trail now visible when cursor is underline
2024-10-13 18:47:19 +09:00
Rick Choi
20ba5e6918
disable cursor trail while live resize in progress
2024-10-13 18:15:42 +09:00
Rick Choi
fbd596a61f
set trail color with cursor bg color
2024-10-13 18:10:24 +09:00
Rick Choi
89b9c6da8b
don't draw cursor trail over the real cursor
2024-10-13 16:37:52 +09:00