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
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
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
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
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
pagedown
622885853d
Fix remote control detach-tab detach-window
2021-11-30 12:38:19 +08:00
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
Kovid Goyal
49369d6279
Preserve definition location when resolving
2021-11-29 19:38:38 +05:30
Kovid Goyal
bd288bd18f
Linux: Fix release event for the final key in a compose sequence not being reported. Fixes #4285
2021-11-29 19:26:16 +05:30
Kovid Goyal
cdb1138465
...
2021-11-29 12:42:02 +05:30
Kovid Goyal
c8c6f8691f
Store the shell_integration option as a set
2021-11-29 12:41:25 +05:30
Kovid Goyal
9441cf15c3
Move the bash integration script into its own dir
...
This matches the other shells and might be useful someday
if bash ever gets a way for the invoking process to inject code
into it.
Also use KITTY_INSTALLATION_DIR when loading the bash integration code.
2021-11-29 12:30:10 +05:30
Kovid Goyal
276ed7263c
Forgot to use env rather than os.environ when checking for ZDOTDIR
2021-11-29 12:22:33 +05:30
Kovid Goyal
6b38ca3bd2
add verification for parsing shell_integration
2021-11-29 12:04:19 +05:30
Kovid Goyal
b28811846a
Fix on creation IME update not being applied because render data was not yet set
2021-11-28 22:57:09 +05:30
Kovid Goyal
5561aa1d37
Allow forcing IME update
2021-11-28 22:53:45 +05:30
pagedown
9c326397d0
Update the last visited command output position after unscrolling
2021-11-28 21:59:58 +08:00
Kovid Goyal
346ea8c8a0
Forgot to ad dmethod in previous commit
2021-11-28 12:01:09 +05:30
Kovid Goyal
daefb926d9
Fix zsh kitty completion when the matching style includes anchor based matchers
...
Debian apparently adds these by default.
2021-11-28 11:02:03 +05:30
Kovid Goyal
0a5c73dee4
Ignore errors when getting screen size for zsh completion output serialization
2021-11-28 10:35:44 +05:30