Kovid Goyal
bfcd324993
ask kitten: allow having hidden text in the message
2022-08-16 13:57:58 +05:30
Kovid Goyal
d0c50248ea
Graphics protocol: Only delete temp files if they have the string tty-graphics-protocol in their file paths.
...
This prevents deletion of arbitrary files in /tmp via the graphics
protocol.
2022-08-16 11:25:33 +05:30
Kovid Goyal
6961845167
ask kitten: fix button click area offset vertically
2022-08-16 10:35:51 +05:30
Kovid Goyal
cd3eeb7a95
Center choice message correctly when it is multi-line
...
Also fix button wrap calculation. It was not taking the borders into
account.
2022-08-10 20:34:25 +05:30
Kovid Goyal
7be6b28011
Preserve blanks lines and per line formatting in the ask kitten for the message with choices
2022-08-10 20:10:17 +05:30
Kovid Goyal
1a643441f3
Make the kitty public key available as an env var to child processes
2022-08-10 12:36:04 +05:30
pagedown
5f180dbd9a
...
2022-08-09 12:29:22 +08:00
pagedown
9f1c9529aa
Allow completion for show_key kitten
...
Use the lowercase form of kitty.
2022-08-09 12:15:48 +08:00
pagedown
0d116e6ef0
Use four spaces to indent
2022-08-08 22:31:55 +05:30
pagedown
06108d66b1
Replace tab with four spaces indent
2022-08-08 22:31:55 +05:30
Kovid Goyal
3463931dad
Rewrite clipboard kitten to only change termios settings while it is actually reading from terminal
2022-08-02 17:14:27 +05:30
Kovid Goyal
132f87d152
show_key: use a better representation of the space key when
2022-08-01 13:25:56 +05:30
Kovid Goyal
e2117ee8a4
ssh kitten: Allow completion of ssh options between the destination and command
...
This contravenes the documented command line parsing behavior of ssh but
matches its actual implementation. Sigh.
Fixes #5322
2022-07-29 08:29:49 +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
d9371dc265
ssh kitten: Better handling of exit on keyboard interrupt
2022-07-20 21:40:51 +05:30
Kovid Goyal
ef2a12fbdf
Ignore sigint while draining the tty
2022-07-20 19:40:23 +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
bd9e1f58fe
ssh kitten: Make discarding of garbage data after ssh fails more robust
...
We now roundtrip an UUID via the terminal and only exit after receiving
it back. This guarantees that any pending data in the pipe is discarded.
2022-07-20 13:28:51 +05:30
Kovid Goyal
3a17f54bca
Add a note about how to exclude directories in the copy command
2022-07-12 16:23:48 +05:30
Kovid Goyal
a8b756f040
ssh kitten: A new option :code:--symlink-strategy to control how symlinks are copied to the remote machine
...
Fixes #5249
2022-07-03 14:03:56 +05:30
Kovid Goyal
b3fcb53625
ssh kitten: Allow ssh kitten to work from inside tmux, provided the tmux session inherits the correct KITTY env vars
...
Fixes #5227
2022-06-29 18:40:22 +05:30
Kovid Goyal
4f29dea8ef
Utility function to detect when running inside tmux
2022-06-29 17:51:38 +05:30
pagedown
c3df6d2fe3
Remove executable perms from kitten files
2022-06-28 11:59:47 +08:00
Kovid Goyal
a89e1b5573
Fix horizontal wheel events not being reported to client programs when they grab the mouse
...
Fixes #2819
2022-06-18 06:47:42 +05:30
Kovid Goyal
2dd1201c3f
Dont use a kitten for prewarm
2022-06-09 06:53:51 +05:30
Kovid Goyal
9be68966b4
Also detect ssh kitten run as an overlay
2022-06-08 18:53:54 +05:30
Kovid Goyal
9dbafcc368
Remove unneccessary argument to connection_sharing_args()
2022-06-07 20:40:01 +05:30
Kovid Goyal
9f5f113840
...
2022-06-07 13:05:07 +05:30
Kovid Goyal
6afbdbe94f
Use correct kitty config in prewarmed process
2022-06-07 12:53:39 +05:30
Kovid Goyal
cc3c7b0286
Fix waitpid() call on python 3.8
2022-06-06 21:22:04 +05:30
Kovid Goyal
4c9a75c1ba
Remove unused code
2022-06-06 20:45:40 +05:30
Kovid Goyal
98f46f8bd7
Start work on prewarming
...
The prewarm process and its controller are implemented with some basic
tests.
2022-06-06 20:39:36 +05:30
Kovid Goyal
79f7954048
Cleanup previous PR
2022-06-06 17:19:52 +05:30
Kovid Goyal
fc217dafba
Merge branch 'master' of https://github.com/suvayu/kitty
2022-06-06 16:55:08 +05:30
Suvayu Ali
20b6a97159
Update in response to feedback
...
- one configuration option: ignore_paths
- use shlex to parse option to support whitespace and in-line comments
- change option type to Tuple[str, ...]
- remove ignored directories from dirnames to prevent scanning
2022-06-06 11:00:45 +02:00
Kovid Goyal
98f6e24106
Move block outside try/except as it doesnt need to be in there
2022-06-06 08:17:15 +05:30
Kovid Goyal
cd7751681d
hints kitten: Fix surrounding quotes/brackets and embedded carriage returns not being removed when using line number processing
...
Fixes #5170
2022-06-05 18:07:16 +05:30
Suvayu Ali
eea652f1d0
kittens/diff: move empty pattern check to dir tree walk
2022-06-05 10:11:21 +02:00
Suvayu Ali
fbf1ec43c7
diff kitten: add options to ignore paths when comparing directories
...
Tested locally & over SSH:
$ kitty +kitten diff /local/path /local/path2
$ kitty +kitten diff /local/path ssh:remote:/path
2022-06-05 00:11:30 +02:00
Kovid Goyal
0828096e9e
...
2022-06-03 18:30:14 +05:30
Kovid Goyal
ebcbed290f
Make loading of kitty options in kitten re-useable
2022-06-03 17:49:58 +05:30
Kovid Goyal
55eeb9c11e
Dont import kitty.complete in ssh.main
2022-06-02 08:08:33 +05:30
James Reid
0b79cbdb3b
Add "user" tab to themes kitten
...
Add new tab named "user" to the built-in themes kitten - new tab
filters and displays only user-defined color themes, identified by
adding "is_user_defined" property to "Theme" class which defaults
to False, and is set True when a theme is fetched using the
"load_from_dir" method.
2022-05-30 19:25:09 +01:00
James Reid
1dc6b49e02
Remove hard coded tab string in ThemesHandler
...
Remove hard coded tab string and replace with self.tabs, which is
a reference to the same tab string defined in the __init__ of
ThemesHandler
2022-05-30 19:17:07 +01:00
Kovid Goyal
8540ca3990
Workaround for nix package messing with kitty file permissions
2022-05-28 08:03:17 +05:30
Kovid Goyal
ea8bed2a71
Fix #5113
2022-05-20 20:45:08 +05:30
Jakub Kuczys
a9a9ec80b5
Support the short pretty flag (-p) in hyperlinked_grep kitten
2022-05-20 10:57:42 +02:00
Kovid Goyal
bba1455e28
Dont import all of the ssh kitten just to detect commandlines
2022-05-18 15:58:06 +05:30
Kovid Goyal
1b4cf1fea7
Remote file kitten: Integrate with the ssh kitten
2022-05-14 10:31:18 +05:30
Kovid Goyal
aaffec1cbc
Better error message
2022-05-13 19:25:37 +05:30