Kovid Goyal
b28c4054e1
Fix a rare panic in dispatch_timers
2023-07-02 08:14:37 +05:30
Kovid Goyal
bc72c3eadc
Add helix to the list of editors to search for
2023-07-02 07:49:21 +05:30
Kovid Goyal
0bc4f8076e
Fix #6410
2023-07-02 07:31:14 +05:30
Kovid Goyal
22c2687432
Nicer fallback logic when deriving LANG from NSLocale
2023-07-01 11:53:09 +05:30
Kovid Goyal
503a0bdd4d
Merge branch 'fix/lang' of https://github.com/kecrily/kitty
2023-07-01 11:09:19 +05:30
Percy Ma
7102e0c0bb
fix: fallback to en_US when locale code is invalid
2023-07-01 02:46:12 +08:00
Kovid Goyal
34ed922738
...
2023-06-29 07:44:34 +05:30
Kovid Goyal
8670ede032
DRYer
2023-06-29 07:39:42 +05:30
Kovid Goyal
ab10070ee8
kittens: Fix errors not being reported to user when run a UI kitten
...
Fixes #6403
2023-06-29 07:36:24 +05:30
Kovid Goyal
e81a40255b
Add a aliases for the | key
2023-06-28 20:53:05 +05:30
Kovid Goyal
6b3b62c933
Mark that run-shell is available from 0.29 onwards
2023-06-28 10:03:50 +05:30
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