8610 Commits

Author SHA1 Message Date
Kovid Goyal
6e351cd945
Restore ability to use foreground color unchanged for selections 2021-12-06 05:23:41 +05:30
Kovid Goyal
2d66e37dcb
Fix selection_forground=none not being respected 2021-12-05 22:00:43 +05:30
Kovid Goyal
2da25d9187
Fix #4318 2021-12-05 20:50:28 +05:30
Kovid Goyal
11badac95d
Ensure cell start position is clamped to a pixel 2021-12-05 18:26:25 +05:30
Kovid Goyal
b4024bf7f2
DRYer 2021-12-05 18:21:00 +05:30
Kovid Goyal
759feac95b
Make the gl pixel clamping functions more widely available 2021-12-05 18:16:36 +05:30
Kovid Goyal
33de23d01d
Remove unused code 2021-12-05 18:03:37 +05:30
Kovid Goyal
3f0ecbb241
Use the new async response framework when setting background/logo images via RC. Avoids having to use --no-response 2021-12-05 18:02:09 +05:30
Kovid Goyal
e91c008357
... 2021-12-05 17:42:54 +05:30
Kovid Goyal
7a2003c371
Allow ~/ expansion when specify image paths for @ set-(background|logo) 2021-12-05 17:16:17 +05:30
Kovid Goyal
a7eb9850b7
clamp logo position to nearest pixel 2021-12-05 15:53:20 +05:30
Kovid Goyal
f01446ff25
... 2021-12-05 13:26:06 +05:30
Kovid Goyal
525a32be51
better conversion of logo width/height to gl values
Map the naive value back to an integer using the same algorithm as for
the scissor test and adjust the value if they dont match
2021-12-05 13:21:04 +05:30
Kovid Goyal
73386bd67f
Use scissor limits as pixel extents in cell render data
More accurate since that is the actual content area
2021-12-05 13:04:43 +05:30
Kovid Goyal
d1cf88e942
Make the window geometry in pixels available in CellRenderData 2021-12-05 12:29:33 +05:30
Kovid Goyal
c11da595ef
Move calculation of window render data into native code
There was no reason to do it in python
2021-12-05 12:21:24 +05:30
Kovid Goyal
2546afb7aa
Use a struct to pass around cell render data 2021-12-05 11:57:22 +05:30
Kovid Goyal
56edb5cdbe
Merge branch 'feat-nth-os-window' of https://github.com/page-down/kitty 2021-12-05 10:12:16 +05:30
Kovid Goyal
bca3179a6d
Forgot that draw_cells() is called with a NULL window when drawing the tab bar
Fixes #4317
2021-12-05 07:44:51 +05:30
pagedown
1f3d86a434
Add a new mappable action nth_os_window to focus OS window 2021-12-04 20:45:01 +08:00
Kovid Goyal
0456399ce5
Fix leak when changing window logo 2021-12-04 14:01:05 +05:30
Kovid Goyal
799881af2d
free then clear hash tables 2021-12-04 13:57:25 +05:30
Kovid Goyal
14047588ae
Remote control command to set window logo 2021-12-04 13:55:13 +05:30
Kovid Goyal
9d9840a6d8
... 2021-12-04 12:53:16 +05:30
Kovid Goyal
b36d8d6469
Fix logo rendering under wayland, which requires premult 2021-12-04 12:50:48 +05:30
Kovid Goyal
254ba401d4
Allow specifying window logos in the launch command 2021-12-04 12:37:14 +05:30
Kovid Goyal
3035ba08c3
Interpret relative logo paths relative to conf dir 2021-12-04 07:34:30 +05:30
Kovid Goyal
16201ac873
Use a logo for the kitty shell window 2021-12-03 20:25:07 +05:30
Kovid Goyal
42a2493286
Fade the window logo by a configurable amount 2021-12-03 18:05:59 +05:30
Kovid Goyal
6f48dda8b9
Fix storage of window logos
Store by id not pointer since the pointers are not stable. And use two
hash maps by path and by id for fast lookup.
2021-12-03 17:43:45 +05:30
Kovid Goyal
b8b495ac31
Fix text not rendered when showing window logo 2021-12-03 13:54:28 +05:30
Kovid Goyal
bd1276d079
Update window logos on config reload 2021-12-03 13:47:14 +05:30
Kovid Goyal
bfb87854df
Python API to change window logo 2021-12-03 13:38:42 +05:30
Kovid Goyal
f4aba9fc41
Update changelog with new window_logo setting 2021-12-03 13:23:49 +05:30
Kovid Goyal
757c7900d9
Dont draw the window logo during a live resize 2021-12-03 13:20:57 +05:30
Kovid Goyal
3d2877eeb9
More work on per window logo 2021-12-03 13:19:10 +05:30
Kovid Goyal
e04919098f
Start work on a per window logo 2021-12-02 11:14:17 +05:30
Kovid Goyal
5d05aeaace
... 2021-12-02 07:28:27 +05:30
Kovid Goyal
142b6fcc00
Use symbolic names 2021-12-01 22:57:02 +05:30
Kovid Goyal
91c0f4e2d9
Document more tmux breakage 2021-12-01 22:38:23 +05:30
Kovid Goyal
89a93af1d5
GitHub says checkouting out HEAD^2 for merge commits is no longer needed for CodeQL 2021-12-01 20:20:58 +05:30
Kovid Goyal
ef07e2941c
Fix clamping of background image 2021-12-01 20:12:31 +05:30
Kovid Goyal
0c3a8dadf6
bg uniforms should be reset when options are reloaded 2021-12-01 16:43:15 +05:30
Kovid Goyal
6425715daf
Merge branch 'docs-opt-values' of https://github.com/page-down/kitty 2021-12-01 14:11:12 +05:30
pagedown
be110fb38c
Docs: wrap long document lines 2021-12-01 15:46:16 +08:00
pagedown
d743206b8c
Docs: add valid option values 2021-12-01 15:03:35 +08:00
Kovid Goyal
af7a104f5b
Fix typo causing actions to be run multiple times with combine 2021-12-01 10:39:02 +05:30
Kovid Goyal
c0b73986cb
Fix #4302 2021-11-30 20:47:16 +05:30
Kovid Goyal
c48049a3bb
Merge branch 'docs' of https://github.com/page-down/kitty 2021-11-30 16:59:48 +05:30
pagedown
1cb6250f14
Remove duplicate imports 2021-11-30 18:54:44 +08:00