Kovid Goyal
5ff1dadf0d
Allow using --session=none to override startup_session
...
Fixes #6131
2023-03-25 10:44:34 +05:30
Kovid Goyal
34cbf5ceac
Get rid of prewarming
...
Don't need it anymore since all major UI kittens are ported to Go
and so don't have startup latency.
2023-03-10 13:22:10 +05:30
Kovid Goyal
f4b0fbc61e
Fix invocation of wrapped UI kittens
2023-03-07 13:55:45 +05:30
Kovid Goyal
3f293db632
...
2023-03-02 13:34:42 +05:30
Kovid Goyal
eab3b2a689
Reduce the number of spurious focus events
...
1) When performing operations known to cause lots of focus changes such
as creating new sessions/windows or moving windows, forcibly ignore focus events
2) Track window focus state and dont report focus events when the state
is unchanged by a focus_changed() call
This allows focus specific code to be restricted to just 2-3 places
instead of having to track every possible function that could change
focus.
Fixes #6083
2023-03-02 13:30:26 +05:30
pagedown
854529c443
hints kitten: Allow copying matches to named buffers
2023-03-01 22:10:24 +08:00
Kovid Goyal
bd32019b91
Fix error display when remote control mapping fails
2023-03-01 17:45:57 +05:30
Kovid Goyal
22f6728fed
Do not buffer PNG data to disk when setting window background or logo images
2023-03-01 17:34:38 +05:30
Kovid Goyal
bf79940a13
When reloading config also reload all GPU data
...
Fixes some config options such as text_composition_strategy not being
reloaded.
2023-03-01 11:14:03 +05:30
Kovid Goyal
0616f9e077
Fix background image not changing when reloading config
2023-03-01 10:50:33 +05:30
pagedown
ba83ce7b10
macOS: Display the newly created OS window in specified state
...
Fix the maximized window can't occupy full screen space when window
decoration or title bar is hidden.
Fix resize_in_steps being applied even when window is maximized.
Allows to specify `os_window_state` in startup session file.
2023-02-18 14:02:19 +08:00
Kovid Goyal
c73c165be1
Cleanup change_os_window_state
2023-02-16 16:10:19 +05:30
Kovid Goyal
53e33a80ba
Start work on porting unicode input kitten to Go
2023-02-14 21:33:21 +05:30
pagedown
4141872290
When reloading configuration, also reload mime.types
2023-02-12 17:28:42 +08:00
Kovid Goyal
682428fb54
Optimize the services implementation
...
Dont construct the selection string when we are merely checking if a
selection exists.
2023-02-01 12:46:19 +05:30
Kovid Goyal
d8bbb16d5e
Make the single instance data type checked
2023-01-23 17:45:11 +05:30
Kovid Goyal
60791bb57b
Session files: Expand environment variables
2023-01-23 17:34:53 +05:30
Kovid Goyal
009fd6418c
Fix #5894
2023-01-17 12:05:23 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
Kovid Goyal
c03310b5e5
Cleanup previous PR
2022-12-31 14:03:16 +05:30
Yuxin Wu
832506d785
move is_modifier_key to glfw.c and expose in Python
2022-12-30 23:32:46 -08:00
Yuxin Wu
1c10c5fcc4
replay modifier key as well
2022-12-30 23:07:50 -08:00
Yuxin Wu
510c5bd73b
handle release
2022-12-30 23:07:49 -08:00
Yuxin Wu
774fdd7e94
Send sequence events to child if they don't match kitty.
2022-12-30 23:07:36 -08:00
Kovid Goyal
456af90ad2
Remote control: Allow matching for self window even over sockets when run inside a kitty window
...
Have kitty-tool send the value of KITTY_WINDOW_ID if present.
2022-12-30 12:17:31 +05:30
Kovid Goyal
c18bff7821
Remote control: Allow matching the parent of an overlay window
2022-12-30 11:29:05 +05:30
Kovid Goyal
306f9e5735
Prettify URLs before displaying them to the user
2022-12-29 17:04:02 +05:30
Kovid Goyal
f4ac03b791
Show the target of terminal hyperlinks when hovering over them with the mouse
...
Fixes #5830
2022-12-29 16:43:45 +05:30
pagedown
1023084eb9
macOS: Allow to customize Hide, Minimize, and Quit global menu shortcuts
...
All previously hard-coded shortcuts under macOS can be configured now.
2022-12-20 21:08:26 +08:00
Kovid Goyal
6efb5dc2c2
Auto-create an OS Window if none exists on new_tab
2022-12-16 19:34:37 +05:30
Kovid Goyal
f03a665e09
Remote control: When matching windows allow using negative id numbers to match recently created windows
...
Fixes #5753
2022-12-10 11:17:55 +05:30
Kovid Goyal
a8725d6307
Start work on a new clipboard protocol to allow terminal programs to access more than just text/plain content from the clipboard
2022-11-28 14:23:03 +05:30
Kovid Goyal
2b676b63b1
sleep defaults to one second
2022-11-22 21:56:10 +05:30
Kovid Goyal
c0d06adcb5
New sleep action
...
useful in combine based mappings to make kitty sleep before executing the next action
2022-11-22 21:45:19 +05:30
Kovid Goyal
c9c8eb6e94
...
2022-11-05 11:37:07 +05:30
Kovid Goyal
59ded41f7a
When no OS Window is focused the active_* should return those belonging to the last focused OS Window
2022-11-05 11:34:10 +05:30
Kovid Goyal
10ad56885e
Properly specify semantics of active and focused
...
active means active in parent. focused means actually has keyboard
focus.
2022-11-04 10:38:18 +05:30
Kovid Goyal
a856c64104
Have the semantics of is_focused match that of state:focused otherwise things are liable to get confusing
...
The previous value is now available as is_active_window
2022-11-03 22:32:07 +05:30
Kovid Goyal
896f93822d
kitty shell: Also output active tab id
...
Fixes #5590
2022-10-16 08:52:35 +05:30
Kovid Goyal
921ac12e90
Clear both actions caches when config file is reloaded
2022-09-26 20:15:08 +05:30
Kovid Goyal
1c44da2b4a
Nicer error message when trying to open the config file and no editor is available
2022-09-13 17:24:11 +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
6741ac2087
Sessions: Allow controlling which OS Window is active via the focus_os_window directive
2022-09-10 08:27:36 +05:30
Kovid Goyal
be89da2271
Handle dyn prefixes
2022-09-09 11:59:49 +05:30
Kovid Goyal
bcfa2a64e4
Start work on new clipboard api support for macos
2022-09-08 21:45:13 +05:30
Kovid Goyal
7e1380cc0d
Start work on giving GLFW a proper clipboard API
2022-09-08 12:45:34 +05:30
Kovid Goyal
9a99554ed3
Also have confirm() and get_line() return their results on overlay removal
2022-09-08 12:06:25 +05:30
Kovid Goyal
19799bd538
When choosing an option call the callback after the popup window is removed. This ensures the active window is unchanged when the callback is called. Fixes #5488
2022-09-08 12:01:38 +05:30
Kovid Goyal
67c963ab89
Pass KITTY_LISTEN_ON to programs opened via open_url
...
Useful if those programs want to talk to kitty via the rc socket
2022-09-02 16:01:30 +05:30