8502 Commits

Author SHA1 Message Date
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
pagedown
8ed6ee97b2
Docs: replace http url with https, use ripgrep project url and fix typo 2021-11-30 18:53:58 +08:00
pagedown
1d88371604
Docs: separate and wrap each choices 2021-11-30 18:41:20 +08:00
pagedown
8685558a2a
Docs: fix remote control launch command description 2021-11-30 18:35:36 +08:00
Kovid Goyal
d372b27ccd
Ensure active window is updated when taking over a tab 2021-11-30 14:28:50 +05:30
Kovid Goyal
88410e032f
Merge branch 'fix-rc-detach' of https://github.com/page-down/kitty 2021-11-30 12:07:04 +05:30
pagedown
622885853d
Fix remote control detach-tab detach-window 2021-11-30 12:38:19 +08:00
Kovid Goyal
0d3c7a64e2
... 2021-11-30 07:45:49 +05:30
Kovid Goyal
0c274a9a0b
Parse actions on demand
This removes the startup cost of parsing hundreds of default actions
when action_alias or kitten_alias are used. Although the cost is on the
order of 1ms, this design feels cleaner and gives nicer debug config
output.
2021-11-29 21:51:42 +05:30