Kovid Goyal
f29bc638ce
Remote control: allow scrolling to prev/next prompt
2025-02-18 19:17:10 +05:30
Kovid Goyal
af83d855de
Add a framework for easily and securely using remote control from the main function of a custom kitten
2024-09-29 20:36:12 +05:30
Kovid Goyal
c1fb18a6ef
Implement changing transparent background colors via remote control
2024-09-24 19:02:13 +05:30
Kovid Goyal
dbfeb8d6a4
Store transparent colors on ColorProfile
...
This will eventually allow them to be changed using remote control and
escape codes.
2024-09-24 19:02:13 +05:30
Kovid Goyal
fdc3c3d7c1
kitten @: Fix a regression connecting to TCP sockets using plain IP addresses rather than hostnames
...
Fixes #7794
2024-08-27 18:30:51 +05:30
Kovid Goyal
2ac26b0e6d
Fix #7752
2024-08-20 17:27:13 +05:30
Kovid Goyal
0cf9a79760
A new option second_transparent_bg
...
Makes a second background color semi-transparent via background_opacity.
Useful for things like cursor line highlight in editors.
Fixes #7646
2024-07-21 20:22:31 +05:30
Kovid Goyal
608a497421
forgot to port test to use new API
2024-06-15 16:41:11 +05:30
Kovid Goyal
f4bec5f4ab
Remote control: Fix empty password not working
...
Fixes #7538
2024-06-15 11:15:19 +05:30
Kovid Goyal
b3ea6526e7
Forgot to change min bg opacity in the kitten code
2024-05-22 11:34:37 +05:30
Kovid Goyal
dbeb31b7ad
...
2024-05-18 08:44:09 +05:30
Kovid Goyal
c72ff568c5
Micro-optimization
...
Start the background process immediately and use a zero timer only if
executing the process fails, thereby guaranteeing ordering without
imposing a delay on process start.
2024-05-18 08:34:01 +05:30
Kovid Goyal
a9924d2ab7
oops
2024-05-17 22:45:52 +05:30
Kovid Goyal
9e3b49ab84
Micro-optimization
2024-05-17 22:36:09 +05:30
Kovid Goyal
a661f00651
Fix the previous fix
...
Store pending responses since the parser can call HandleDCS multiple
times in a single Read()
2024-05-17 22:27:17 +05:30
Kovid Goyal
703068f884
Fix packet coalescing over network transport causing remote control run over socket not working reliably
2024-05-17 22:18:04 +05:30
Kovid Goyal
64870af53f
simplify logic
2024-05-17 20:05:24 +05:30
Kovid Goyal
8a175010e6
typo
2024-05-14 20:32:34 +05:30
Kovid Goyal
38fed8b391
kitten @ run: A new remote control command to run a process on the machine kitty is running on and get its output
...
Fixes #7429
2024-05-14 14:32:01 +05:30
Kovid Goyal
1a394d6a57
Allow rc commands to control the exit code
2024-05-14 14:31:31 +05:30
Kovid Goyal
cbe4e705db
Allow at commands to specialize response handling
2024-05-14 13:14:21 +05:30
Kovid Goyal
8cb53cb5a6
Fix handling of streaming remote command via tty_io that doesnt actually stream anything
2024-05-14 13:13:17 +05:30
Kovid Goyal
814412b8ac
kitten @ send-key: Fix some keys being sent in kitty keyboard protocol encoding when not using socket for remote control
...
The @ kitten no longer changes keyboard mode unless actually needed.
2024-05-02 11:04:41 +05:30
Kovid Goyal
c1af14c22a
Fix @ send-key not working to send keys to self over TTY
2024-03-05 13:09:07 +05:30
Kovid Goyal
63d974135b
Clean up linter warnings
2024-03-05 08:27:13 +05:30
Kovid Goyal
946d28ae37
Completion for kitty @ load-config --override xxx
2024-02-10 14:52:29 +05:30
Kovid Goyal
97e2d41233
Completion for kitty @ action
2024-02-10 14:01:45 +05:30
Kovid Goyal
314fe4fe4a
Allow launched background process to work with --allow-remote-control
...
Use a dedicated socketpair for such processes. Fixes #6712
2023-10-18 19:56:58 +05:30
Kovid Goyal
81b032a161
Dont expand cwd=current in rc launch
...
This is easily done at the command line. And its semantics are
are to refer to cwd of active window.
2023-10-17 05:01:28 +05:30
Kovid Goyal
ddb121b418
Remote control launch: Fix the --copy-env option not copying current environment variables
...
Fixes #6724
2023-10-16 22:32:51 +05:30
Kovid Goyal
0107d1cb89
Import base85.go into tree
...
Upstream is not maintained last commit was six years ago and there
are various improvements to be had in the code
2023-09-04 20:29:20 +05:30
Kovid Goyal
0e87e0c7de
Work on refactoring send kitten to fix various issues
2023-08-08 06:28:43 +05:30
Kovid Goyal
21d0522d90
Fix a regression in 0.27.0 that broke setting of specific edge padding/margin via remote control. Fixes #6333
2023-06-04 22:24:48 +05:30
Kovid Goyal
018bf46ddb
kitty @ shell: Integrate completions from history
2023-03-07 17:01:21 +05:30
Kovid Goyal
a2887bb9e0
get rid of utils.Cut since we can now rely on strings.Cut instead
2023-03-04 13:37:55 +05:30
Kovid Goyal
f0aacbd437
Remove unused code
2023-03-01 16:54:06 +05:30
Kovid Goyal
9bdb647454
kitty @ shell: Fix global options being ignored
...
Also no need to exec a separate process for every command
2023-02-04 12:54:49 +05:30
pagedown
8fe936882d
Docs: Improve usage and help documents for kitten
2023-02-01 17:14:54 +08:00
Kovid Goyal
11f98592f7
We still need full keyboard protocol for @ send-text
2023-01-23 16:33:08 +05:30
Kovid Goyal
97467acb1f
kitten @ cmd: Dont generate key release events
...
We dont need them and they sometimes can spill over into the prompt if
the command is very fast.
2023-01-23 16:18:46 +05:30
Kovid Goyal
a009d6b258
kitty shell: Add completion for help and exit commands
2023-01-23 15:34:45 +05:30
Kovid Goyal
6b8e5ea225
Rename kitty-tool to kitten
...
It's easier to type, and cuter.
Also, most, if not all of the TUI parts of
kitty's kittens will eventually be re-written into kitten.
The only downside I can see is that we cant tab complete kitty
anymore, but hopefully there will be less reason to run kitty
from the shell as command line tools migrate to kitten.
Meowrrrr!!!
2023-01-14 15:44:52 +05:30
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
0f24ce60f8
Fix @ send-text --stdin always assuming STDIN is a tty
2022-12-30 08:29:30 +05:30
Kovid Goyal
d235b673d1
also test \ is escaped
2022-12-13 10:21:19 +05:30
Kovid Goyal
0ab618c2dc
Fix #5767
2022-12-13 10:20:02 +05:30
Kovid Goyal
902373ed20
Also make lists and dicts of strings escape code safe
2022-12-12 19:24:44 +05:30
Kovid Goyal
aac57550c9
rc protocol: Encode strings values in an escape code safe way
...
Go emits UTF-8 encoded JSON not ascii encoded JSON. Still need to fix
lists and dicts of strings
2022-12-12 18:48:54 +05:30
Kovid Goyal
95e05ce9ec
Fix #5761
2022-12-12 16:49:18 +05:30
Kovid Goyal
e555d963b1
DRYer
2022-12-01 13:58:06 +05:30