Commit graph

8160 commits

Author SHA1 Message Date
Kovid Goyal
adaa00744c
DRYer 2025-03-09 20:12:21 +05:30
Kovid Goyal
dc888a87d6
... 2025-03-09 20:11:09 +05:30
Kovid Goyal
370723b47b
Do not count background processes by default for confirm_os_window_close
Fixes #8358
2025-03-09 20:07:57 +05:30
Kovid Goyal
812fe467c9
Report OSC 6/106 as ignored only once 2025-03-09 19:02:19 +05:30
Kovid Goyal
dfd337edf3
Better error message for some more unhandled OSC codes 2025-03-09 18:55:54 +05:30
Kovid Goyal
e84a8fd7e9
Do fine grained clearing of URL ranges
This matches what is done for selections. This is a very slight
performance hit (one extra easily predicted branch)
since most of the time url ranges is empty.

Fixes #8414
2025-03-09 18:45:52 +05:30
Kovid Goyal
a5d4ca3735
Micro-optimization: in paused rendering selections are never changed 2025-03-09 18:22:45 +05:30
Kovid Goyal
32e3ad50f4
Recalc over luminance if changed by threshold so that gamma adjustment uses correct value 2025-03-08 14:27:17 +05:30
Kovid Goyal
6329206a6e
version 0.40.0 2025-03-08 08:40:40 +05:30
Kovid Goyal
4d27b4766e
Cleanup previous PR 2025-03-08 08:11:34 +05:30
alex-huff
3555569c09 ... 2025-03-07 11:26:49 -06:00
alex-huff
9188d6a664 Wayland: added --edge=center option for panel kitten 2025-03-07 11:11:07 -06:00
Kovid Goyal
458c57209a
Fix cursor blink animation when background_opacity is less than one
Fixes #8401
2025-03-04 18:47:34 +05:30
Kovid Goyal
228d9cfc1c
Fix incorrect interpolation for animation cubic bezier curves when falling back to bisection method
See #8401
2025-03-04 17:20:34 +05:30
Kovid Goyal
27df509206
Nicer fix for enter event mouse tracking
Send an explicit mouse event to child when pointer enters window instead
of relying on GLFW to send a cursor position update event.
2025-03-04 11:29:29 +05:30
Kovid Goyal
ac6c652a4d
Fix #8398 2025-03-04 09:49:34 +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
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
448e97549b
Add a note about background_opacity non-linearity 2025-02-23 17:08:23 +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
758817c3c8
Only modify prompt_kind in resize.c 2025-02-19 05:08:27 +05:30
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
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
Jake Wharton
5d90c842ea
Use semicolon to respond to OSC 22 2025-02-17 23:24:11 -05:00
Kovid Goyal
a7f76ee8f7
Fix #8339 2025-02-17 19:56:39 +05:30