Commit Graph

261 Commits

Author SHA1 Message Date
Kovid Goyal
ae8f3de070 Allow centering the background image
Fixes #5525
2022-10-04 08:26:28 +05:30
Kovid Goyal
dcf2152a7a Wayland: Generate a XDG_ACTIVATION_TOKEN when opening URLs or running programs in the background via the launch action 2022-09-11 14:25:49 +05:30
Kovid Goyal
58a3baaf0f Wayland: Use XDG_ACTIVATION_TOKEN when present at launch 2022-09-11 13:43:52 +05:30
Kovid Goyal
8d0a06325c Update config types for new value of KITTY_MOD 2022-08-12 11:07:11 +05:30
Nicolas Ochsner
c147fda6ca Expose wakeup main loop in python api. 2022-06-17 15:26:16 +02:00
Kovid Goyal
f4d44f30b4 Allow copying current window/tab/os window titles when creating new ones via the launch command. Fixes #4933 2022-04-11 15:38:33 +05:30
pagedown
6c628bc594 Wayland: Fix IME is not enabled after switching the focus 2022-03-21 18:36:25 +08:00
pagedown
a987fb81a0 Emits an IME lost focus event when the window lost focus or closed 2022-01-27 10:13:57 +08:00
Kovid Goyal
ca4840717b macOS: Fix using shortcuts from the global menu bar as subsequent key presses in a multi key mapping not working
Fixes #4519
2022-01-15 13:56:18 +05:30
pagedown
4293325539 Cleanup previous PR
Revert the changes related to set_options debug_keyboard.
Remove the Carbon framework flag for glfw.
2022-01-10 10:24:10 +08:00
Kovid Goyal
24c44861ef Cleanup previous PR
Simplify wrapping of toggle_secure_input
Dont duplicate debug_keyboard flag in two places
2022-01-09 22:11:22 +05:30
pagedown
f7be4fab48 macOS: Allow mapping secure keyboard entry shortcut 2022-01-09 22:54:03 +08:00
Kovid Goyal
79ec8b60b9 Fix visual select window sometimes showing stale window titles 2021-12-31 21:08:20 +05:30
Kovid Goyal
846c774ac2 DRYer 2021-12-31 20:58:06 +05:30
Kovid Goyal
a867b4444d Clamp border rects to pixels
This uses the same co-ord calculation for border rects as for text
cells. DRYer and avoids borders and blank rects being drawn at haf pixel
offsets.
2021-12-31 06:20:57 +05:30
pagedown
278477b387 Add light and dark to the macOS title bar option 2021-12-21 15:14:08 +08:00
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
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
0456399ce5 Fix leak when changing window logo 2021-12-04 14:01:05 +05:30
Kovid Goyal
254ba401d4 Allow specifying window logos in the launch command 2021-12-04 12:37:14 +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
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
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
5561aa1d37 Allow forcing IME update 2021-11-28 22:53:45 +05:30
pagedown
b91809eaa4 Allows to open the command output in pager by mouse click 2021-11-17 22:25:49 +08:00
pagedown
aebf654e15 Add command output mouse selection 2021-11-16 18:15:53 +08:00
Kovid Goyal
35626d3929 Update IME position when overlay line is moved on input from child process 2021-11-12 15:07:25 +05:30
Kovid Goyal
ffa755c723 macOS: Ensure IME position is correct on startup 2021-11-12 09:18:34 +05:30
Kovid Goyal
9cda076c93 Fix restoring of OS window title after visual selection 2021-11-06 11:28:56 +05:30
Kovid Goyal
c8b1724ecf Function to change OS Window title from python 2021-10-31 10:56:36 +05:30
itepechi
86d7aaa03a Add clamped to option background_image_layout 2021-10-30 04:34:33 +09:00
itepechi
cae31ab336 Read/Write bganchor directly from the options' state
Slight performance improvement, maybe?
Also, `kitty/graphics.h` has been reverted to the original version;
this version would be better in that aspect too.
2021-10-30 04:34:32 +09:00
itepechi
2aa01c58a1 Add option background_image_anchor to configure bgimage position 2021-10-30 04:34:32 +09:00
Kovid Goyal
4385acd3c6 A new option to set the tab bar margin color independently 2021-10-25 12:21:46 +05:30
Kovid Goyal
63e23d7fe3 Fix set-colors unable to set tab_bar_background to none 2021-10-25 10:04:25 +05:30
Kovid Goyal
23d0db5458 ... 2021-10-25 09:17:29 +05:30
Kovid Goyal
71c62664cd Fix tab bar background not being update in the shader when using set-colors 2021-10-25 09:11:23 +05:30
Kovid Goyal
e18b0cd4c8 When a window is moved but not resized, ensure the OS Window is re-rendered 2021-10-22 04:15:47 +05:30
Kovid Goyal
78c63e6a18 Show window titles during visual select
Still has to be implemented on macOS
2021-10-15 14:19:56 +05:30
Kovid Goyal
a16ffcdde2 Handle mouse clicks when displaying focus window overlay 2021-10-15 09:55:15 +05:30
Kovid Goyal
3c3e97aa6e Fix moved status not being returned to python 2021-09-29 08:37:26 +05:30
Kovid Goyal
c2641458e7 A new option to specify the path to a sound file to use as the bell sound 2021-09-24 08:28:37 +05:30
Kovid Goyal
fa327d618d Cursor movement at shell prompts on click
Fixes #3825
2021-08-18 10:06:07 +05:30
Kovid Goyal
bc202aec6e Dont discard information on whether a click hit a URL 2021-08-18 10:06:07 +05:30
Kovid Goyal
70b5f5bce3 Fix kitty --title not overriding tab titles
It must set the OS Window title permanently.

Fixes #3893
2021-08-03 09:34:13 +05:30
Kovid Goyal
be34af4555 Remove inline from .c files
It is ignored by compilers and hides unused static functions
2021-08-03 09:11:17 +05:30