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
935c4ded6b
Remote control: When matching window by state:focused match the window belonging to the OS window that was last focused
...
Fixes #5602
2022-11-03 21:52:20 +05:30
Kovid Goyal
26b8ab9adf
Use a regex for bracketed paste sanitization
2022-09-23 22:18:03 +05:30
Kovid Goyal
7e1380cc0d
Start work on giving GLFW a proper clipboard API
2022-09-08 12:45:34 +05:30
Kovid Goyal
f05783e64d
Sanitize notifications ids as they are retransmitted over the TTY
2022-09-05 10:41:19 +05:30
Kovid Goyal
607bc845fc
Allow creating overlay-main windows, which are treated as the active window unlike normal overlays
...
Fixes #5392
2022-09-03 19:04:31 +05:30
Kovid Goyal
c856d5c058
Fix hyperlinks not present when fetching text from the history buffer
...
Fixes #5427
2022-08-28 08:54:53 +05:30
pagedown
64a202a125
Docs: Using the lowercase form of the key name consistently
2022-08-24 13:26:50 +08:00
Kovid Goyal
a4c3154dab
...
2022-08-20 08:27:24 +05:30
Kovid Goyal
5350eb29c1
A new mappable action to show kitty docs in the browser
2022-08-19 14:00:30 +05:30
Kovid Goyal
a75235a260
rcp ars should be a sequnce not a set
2022-08-16 12:10:15 +05:30
Kovid Goyal
02d06d6726
Fix --allow-remote-control without passwords not working
2022-08-16 10:51:54 +05:30
Kovid Goyal
572e920466
Allow restricting the remote control actions in specific windows
2022-08-16 07:08:51 +05:30
Kovid Goyal
814dd8a275
allow_remote_control should be per window not per child
2022-08-15 21:32:14 +05:30
Kovid Goyal
2c83b9902e
Implement the permissions system for password based rc requests
2022-08-10 15:49:50 +05:30
Kovid Goyal
4345ea6602
Remove debugging code I left in the last commit accidentally
2022-07-26 08:17:44 +05:30
Kovid Goyal
54d2f06abe
remote files kitten: Fix working with files whose names have characters that need to be quoted in shell scripts
...
Fixes #5313
2022-07-26 08:06:25 +05:30
Kovid Goyal
7215c6d6be
ssh kitten: Allow pressing Ctrl-C to abort ssh before the connection is completed
...
Fixing this involved adding a new mode to kitty where it handles
ctrl-c/z/q by sending signals to the tty foreground process group
instead of delegating to the kernel to do that. Since the pipe may be
full we have no way of knowing when the kernel will get around to
reading the signal byte. So send the signal ourselves.
Fixes #5271
2022-07-20 19:11:14 +05:30
Kovid Goyal
d3ffaebd17
Ignore exceptions in kitten result processors
2022-06-18 08:20:01 +05:30
Kovid Goyal
bf01c549f5
Allow kittens to handle multiple results in a window
2022-06-18 08:18:25 +05:30
Kovid Goyal
1e56d39777
Wakeup main loop when refreshing window as well as io loop
2022-06-17 19:33:43 +05:30
Kovid Goyal
47d482dca9
Clear signal handlers when running processes
2022-06-08 17:50:42 +05:30
Kovid Goyal
0509855930
Allow getting the last non-empty command output easily via an action or remote control
...
Fixes #4973
2022-05-28 15:19:24 +05:30
Kovid Goyal
117d1b02be
Start work on edit-in-kitty
2022-05-26 21:16:42 +05:30
Kovid Goyal
ea4751eae5
Move logic for handling chunked remote data into a separate function
...
Use the existing clipboard_max_size as the limit for remote data
2022-05-26 08:52:20 +05:30
Kovid Goyal
bba1455e28
Dont import all of the ssh kitten just to detect commandlines
2022-05-18 15:58:06 +05:30
Kovid Goyal
5efcb35cfb
Only integrate with ssh kitten if shared connections are enabled for that host
2022-05-14 10:37:05 +05:30
Kovid Goyal
1b4cf1fea7
Remote file kitten: Integrate with the ssh kitten
2022-05-14 10:31:18 +05:30
Kovid Goyal
516e0e8bb3
broadcast kitten: Keep the ghost cursors in target windows as long as broadcast window has focus
2022-04-27 21:24:18 +05:30
pagedown
bc4f40fea7
...
2022-04-24 09:34:22 +08:00
Kovid Goyal
714461de76
Also ensure oldest cwd request type is honored by modify_argv
2022-04-22 08:40:18 +05:30
Kovid Goyal
b753cf6879
Forgot to implement at_prompt use of reported cwd in modify_argv
2022-04-22 08:25:46 +05:30
Kovid Goyal
4372cf2893
...
2022-04-17 08:43:23 +05:30
Kovid Goyal
34c18bacd8
Free up memory used to store copy of child env block
2022-04-17 08:35:55 +05:30
Kovid Goyal
38e1d32065
Actually implement allow_cloning
2022-04-16 22:40:05 +05:30
Kovid Goyal
df9b13fb74
Ask for confirmation before doing a clone by default
2022-04-16 20:04:26 +05:30
Kovid Goyal
4b7c50518e
Fix usage of chunk_num
2022-04-13 20:16:51 +05:30
Kovid Goyal
feea6998f8
Allow using the cwd of the oldest as well as the newest foreground process for launch --cwd
2022-04-13 15:31:17 +05:30
Kovid Goyal
c19e69855a
Start work on a command to clone the current working env into a new kitty window
2022-04-13 15:02:22 +05:30
Kovid Goyal
2c72c56e22
Add a couple more states to match against
...
So we can now select windows/tabs that are not active/focused but are in
the active/focused tab/os window.
2022-04-12 20:35:31 +05:30
Kovid Goyal
b3fa7310cb
Allow matching on window/tab state
2022-04-12 20:14:01 +05:30
Kovid Goyal
ade38870a0
Allow using boolean operators when matching windows or tabs
2022-04-12 19:55:20 +05:30
Kovid Goyal
5d76cfb578
Remove output start mark from last command output
2022-04-12 08:55:07 +05:30
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
4ed2854791
Add a new standalone action scroll_prompt_to_top
...
Refactor clear_terminal to move the functions to Window.
Fix the action not scrolling to the bottom when the screen is scrolled.
2022-03-29 16:42:29 +08:00
Kovid Goyal
0c4b20aa4e
typo
2022-03-25 16:30:48 +05:30
Kovid Goyal
e151b8e604
Make detection of pasted URLs a little stricter
2022-03-24 17:30:47 +05:30
Kovid Goyal
3c67e991c2
Allow defining actions to take when pasting
...
Fixes #4873
2022-03-24 17:22:46 +05:30