Kovid Goyal
503d7791e9
Update changelog
2023-06-27 14:58:33 +05:30
Kovid Goyal
7c6d40fa0c
Implement background blur for KDE on X11 as well
2023-06-27 14:56:35 +05:30
Kovid Goyal
7a1bdb4ff1
macOS: Implement background blurring
...
Uses a private API that allows us to control the amount of blurring.
While using a private API is obviously not ideal, it is used by both
iTerm.app and Apple's own Terminal.app, so hopefully it should stick
around. Fixes #6135
2023-06-27 08:48:16 +05:30
Kovid Goyal
326b81a970
Port the show_error kitten to Go
2023-06-26 17:52:31 +05:30
Kovid Goyal
da31d21ddb
Port the shell integration tests to use the run-shell kitten
2023-06-26 16:53:08 +05:30
Kovid Goyal
8ffbfa177d
...
2023-06-26 15:57:00 +05:30
Kovid Goyal
0fb1f17af9
Have --hold wait at a shell prompt
2023-06-26 11:21:57 +05:30
Kovid Goyal
01b55a5522
Document the new run-shell kitten
2023-06-26 10:47:13 +05:30
Kovid Goyal
7e35ee33e3
Have run-shell use the first recognized parent shell by default
2023-06-26 10:31:09 +05:30
Kovid Goyal
b02a1fb8b4
Port the bash setup function to Go
2023-06-26 08:33:39 +05:30
Kovid Goyal
a573689220
Port the zsh setup function to Go
2023-06-25 21:40:36 +05:30
Kovid Goyal
3a76ccf10b
Port the fish setup function to Go
2023-06-25 20:34:48 +05:30
Kovid Goyal
092e0fba2c
Work on code to run shells from a kitten with shell integration
2023-06-25 19:27:43 +05:30
Kovid Goyal
51aaea03bf
Go code to get the shell of the current user
2023-06-25 13:12:35 +05:30
Kovid Goyal
5446aa9ccb
background color should always be set in vertex shader
2023-06-24 09:37:17 +05:30
Kovid Goyal
99012d2659
ssh kitten: Allow configuring the ssh kitten to skip some hosts via a new `delegate` config directive
2023-06-24 09:27:53 +05:30
Kovid Goyal
707cefd78a
ssh kitten: When both passthrough args and --kitten args are present dont fail just ignore the kitten args
2023-06-24 09:14:25 +05:30
Kovid Goyal
2787f305f3
Generic helper to concatenate arbitrary numbers of slices
2023-06-24 09:13:20 +05:30
Kovid Goyal
41a0e60064
Make bg_alpha always available
2023-06-24 08:47:13 +05:30
Kovid Goyal
4ac5b8f82f
Fix text_fg_override_threshold not working with multi-pass rendering
...
This has the side-effect of also applying the same luminance based gamma
adjustment for multipass rendering as we do for single pass rendering.
This *may* make things look worse with very low background_opacity
values, since in such cases the actual background color can be quite
different from the background color we are adjusting against.
2023-06-24 08:32:03 +05:30
Kovid Goyal
b7fd46d971
Add entries for bracketed paste to kitty's terminfo
...
These were added to ncurses 6.4 in early 2023.
2023-06-24 08:07:59 +05:30
Kovid Goyal
dfcd5381d9
Update URL for styled underlines protocol extension
2023-06-23 22:11:25 +05:30
Kovid Goyal
77fe101cb9
Merge branch 'terminfo' of https://github.com/mrak/kitty
2023-06-23 22:09:14 +05:30
Eric Mrak
c344206a78
Add terminfo entries for cursor shape/color and underline color
2023-06-23 08:48:40 -07:00
Kovid Goyal
63a921ff7b
Dont show window size on creation
2023-06-23 16:47:13 +05:30
Kovid Goyal
152c31edd6
Move more code into position function
2023-06-23 16:36:20 +05:30
Kovid Goyal
eb2196633b
Speed up rendering in the case of transparent window + non-underlaid images
...
Do single pass rendering for these as well.
2023-06-23 16:26:36 +05:30
Kovid Goyal
1798c52f77
Centralize the cell shader defines
2023-06-23 16:18:17 +05:30
Kovid Goyal
ed08cbac05
Move cell vertex positioning code into its own function
2023-06-23 09:53:22 +05:30
Kovid Goyal
40f3f4a31a
Reduce the default dim_opacity
...
The new value works better with the text rendering system introduced in
0.28. Fixes #6380
2023-06-22 20:45:04 +05:30
Kovid Goyal
bf6c848be4
Use the new shader include system to avoid having to upload 256 uniform floats to two different programs on the GPU
2023-06-22 20:31:55 +05:30
Kovid Goyal
2b6b0ea9d5
Make mypy happy
2023-06-22 19:57:15 +05:30
Kovid Goyal
9415a56b0f
add a comment explaining the purpose of the function
2023-06-22 19:40:08 +05:30
Kovid Goyal
248301f8b3
Cleanup a bunch of shader infrastructure
...
1) No longer us glScissor. It's an awful API and is not available in
Vulkan. Instead the graphics drawing code ensures the graphic is
drawn within the current viewport
2) Use generated code to automatically get the locations of uniforms
from shaders. Greatly simplifies adding new uniforms to a shader.
3) Dont use a VAO for loading graphics vertices. Greatly simplifies
a bunch of book keeping code.
2023-06-22 19:38:05 +05:30
Kovid Goyal
098a38a3a9
Remove rendering via framebuffer for transparent windows with images
...
There is no need for it with the current rendering pipeline. Images are
blended with premult blending.
2023-06-21 16:06:07 +05:30
Kovid Goyal
2a96b5cb25
Revert "DRYer"
...
It breaks rendering of background in draw_cells_interleaved()
This reverts commit 59dece4588 .
2023-06-21 15:41:37 +05:30
Kovid Goyal
13a2affb9c
Remove unused code
2023-06-21 14:59:40 +05:30
Kovid Goyal
7a234676c2
Remove unneeded vertex array binding
2023-06-21 13:39:52 +05:30
Kovid Goyal
684e3c30ee
Fix #6381
...
Sigh. Bloody Apple and their sad sack OpenGL drivers.
2023-06-21 12:36:21 +05:30
Kovid Goyal
a4373ec8b4
Fix graphics being scaled during live resize
2023-06-21 06:17:35 +05:30
Kovid Goyal
ae3fdcd64d
accidentally removed initialization of inactive_text_alpha for the premult program
2023-06-21 06:06:37 +05:30
Kovid Goyal
740c542d34
Make mypy 1.4 happy
2023-06-20 21:52:19 +05:30
Kovid Goyal
a4f2f1b601
DRYer
2023-06-20 21:10:23 +05:30
Kovid Goyal
2b5746a1fc
DRYer
2023-06-20 20:52:59 +05:30
Kovid Goyal
c66e4ced56
Preserve text size during live resize
2023-06-20 19:41:57 +05:30
Kovid Goyal
5c735c123a
Fix defines in loading of graphics shader
2023-06-20 17:31:25 +05:30
Kovid Goyal
59dece4588
DRYer
2023-06-20 15:01:51 +05:30
Kovid Goyal
59a742e387
...
2023-06-20 14:13:23 +05:30
Kovid Goyal
e1ce6d08e0
Only apply linear2srgb to actual text pixels
...
Better fix for #6209 as it does not make background_opacity non-linear.
Instead the linear2srgb() function is applied only to pixels that
actually have text content.
2023-06-20 13:45:34 +05:30
Kovid Goyal
85f066f312
Merge branch 'dependabot/go_modules/golang.org/x/sys-0.9.0' of https://github.com/kovidgoyal/kitty
2023-06-19 10:07:36 +05:30