Commit Graph

1277 Commits

Author SHA1 Message Date
Kovid Goyal
8a2fca1c30 More work on transfer kitten porting 2023-07-30 19:49:38 +05:30
Kovid Goyal
5d361757a2 more work on the transfer kitten 2023-07-30 19:49:38 +05:30
Kovid Goyal
ff3232547d More work on transfer kitten porting 2023-07-30 19:49:38 +05:30
Kovid Goyal
6c79ae4443 Proper parsing of safe_string fields 2023-07-30 19:49:38 +05:30
Kovid Goyal
425e993ab7 Get rid of enum boilerplate 2023-07-30 19:49:38 +05:30
Kovid Goyal
e05902e8ee ... 2023-07-30 19:49:38 +05:30
Kovid Goyal
1d3031d011 Allow easy string representation of FTC as JSON dict excluding the data field 2023-07-30 19:49:38 +05:30
Kovid Goyal
b9b7ab5221 Finish parsing of FTC 2023-07-30 19:49:38 +05:30
Kovid Goyal
00a04d68cc Start parsing of FTC 2023-07-30 19:49:38 +05:30
Kovid Goyal
e73e421a5f Finish serialization of FTC 2023-07-30 19:49:37 +05:30
Kovid Goyal
6b93610b6a more work on transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
b0bb1dbca3 more work on the transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
0a6cc42ed7 more work on the transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
55bbf175c6 Port send file mapping tests 2023-07-30 19:49:37 +05:30
Kovid Goyal
be7f276d3e More work on the transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
a3640b21ac ... 2023-07-30 19:49:37 +05:30
Kovid Goyal
870522360e More work on transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
7cec9016d3 Start work on porting the transfer kitten to Go 2023-07-30 19:49:37 +05:30
Kovid Goyal
737e4cdbd3 unicode_input kitten: Fix scrolling over multiple screens not working
Fixes #6497
2023-07-27 08:41:18 +05:30
Kovid Goyal
6fda8d7e23 unicode-input: Fix single column rendering of table 2023-07-27 08:41:14 +05:30
Kovid Goyal
93ae6e962f Fix infinite loop in text for current mouse selection 2023-07-24 12:56:02 +05:30
Kovid Goyal
029718d825 show-key legacy mode: Handle EAGAIN/EBUSY when reading from tty
Fixes #6486
2023-07-20 13:26:32 +05:30
Kovid Goyal
e363303359 Nicer error message for pwfile owner/permission mismatch 2023-07-13 21:26:29 +05:30
Kovid Goyal
a1e5b72ca5 Remote control launch: Fix --env not implemented when using --cwd=current with the SSH kitten
Fixes #6438
2023-07-11 09:22:15 +05:30
Kovid Goyal
ce65f11ef5 Unicode input kitten: Fix a regression causing pressing esc to cancel the kitten requiring confirmation 2023-07-04 19:40:19 +05:30
Kovid Goyal
b1d2978cea Fix #6419 2023-07-04 19:37:16 +05:30
Kovid Goyal
0bc4f8076e Fix #6410 2023-07-02 07:31:14 +05:30
Kovid Goyal
8670ede032 DRYer 2023-06-29 07:39:42 +05:30
Kovid Goyal
326b81a970 Port the show_error kitten to Go 2023-06-26 17:52:31 +05:30
Kovid Goyal
092e0fba2c Work on code to run shells from a kitten with shell integration 2023-06-25 19:27:43 +05:30
Kovid Goyal
99012d2659 ssh kitten: Allow configuring the ssh kitten to skip some hosts via a new `delegate` config directive 2023-06-24 09:27:53 +05:30
Kovid Goyal
707cefd78a ssh kitten: When both passthrough args and --kitten args are present dont fail just ignore the kitten args 2023-06-24 09:14:25 +05:30
Kovid Goyal
01d4bffd67 Fix #6367 2023-06-16 20:58:12 +05:30
olzhasar
d0a5d1b3a4 Fix misspellings 2023-06-14 03:39:53 +06:00
Kovid Goyal
da1276d84a Correct the naming of the window arg to call_remote_control 2023-06-10 09:47:37 +05:30
Kovid Goyal
0873e3ea09 ... 2023-05-31 07:22:49 +05:30
Kovid Goyal
9bbb2a9ef4 Fix #6315 2023-05-31 07:08:55 +05:30
Kovid Goyal
e59e42a6c2 simplify API of utils.Once 2023-05-26 22:42:07 +05:30
Kovid Goyal
20fbde447c clipboard kitten: Dont set clipboard when getting clipboard
The previous behavior meant getting the clipboard would
first empty it if STDIN was null or empty which can easily happen when
run non-interactively.

Fixes #6302
2023-05-25 08:41:55 +05:30
Kovid Goyal
5e6d020275 Show proper error message in diff when failing to load image 2023-05-24 22:47:14 +05:30
Kovid Goyal
c101a6acb0 Implement a dedicated function for word matching rather than relying on a regex and being at the mercy of the vagaries of regex implementations 2023-05-12 15:43:56 +05:30
Kovid Goyal
65f8bb7397 hints kitten: Switch to using a regex engine that supports lookaround
Note that we loose unicode char matching for --type=word because of
https://github.com/dlclark/regexp2/issues/65 and of course user regexps
cant use \p{N} escapes any more. Hopefully regexp2 will add support for
these soon-ish. IMO lookaround is more important than \p.

Fixes #6265
2023-05-12 12:24:59 +05:30
Kovid Goyal
a1d791083b ssh_kitten: Proper exit code for termination by SIGINT 2023-05-08 16:27:07 +05:30
Kovid Goyal
454acd4f5c ssh kitten: Fix a regression in 0.28.0 that caused interrupt during setup to not be handled gracefully
Fixes #6254
2023-05-08 16:18:05 +05:30
Kovid Goyal
537cabca71 kitty +open: Ask for permission before executing script files that are not marked as executable
This prevents accidental execution of script files via MIME type
association from programs that unconditionally "open"
attachments/downloaded files via MIME type associations.
2023-05-07 08:11:39 +05:30
Kovid Goyal
ce70320a62 ... 2023-05-04 10:26:18 +05:30
Kovid Goyal
3eb18a416a Entry point for parsing theme metadata 2023-05-04 10:14:58 +05:30
Kovid Goyal
8f96395f74 diff kitten: Fix a regression in 0.28.0 that broke using relative paths as arguments to the kitten
Fixes #6235
2023-05-03 08:34:46 +05:30
Kovid Goyal
1fc4e53bea hints kitten: Fix a regression in 0.28.0 that broke using sub-groups in regexp captures
Fixes #6228
2023-04-30 21:16:24 +05:30
Kovid Goyal
73f10aaf43 clipboard kitten: Fix a bug causing the last MIME type available on the clipboard not being recognized when pasting with arbitrary MIME types 2023-04-30 06:48:09 +05:30