send_text other than from stdin works

This commit is contained in:
Kovid Goyal
2022-08-31 21:51:49 +05:30
parent 457aab7c41
commit 65c3630099
4 changed files with 16 additions and 9 deletions

View File

@@ -101,8 +101,6 @@ Path to a file whose contents you wish to send. Note that in this case the file
are sent as is, not interpreted for escapes.
'''
args = RemoteCommand.Args(spec='[TEXT TO SEND]', json_field='data', special_parse='+session_id:parse_send_text(io_data, args)')
is_asynchronous = True
reads_streaming_data = True
def message_to_kitty(self, global_opts: RCOptions, opts: 'CLIOptions', args: ArgsType) -> PayloadType:
limit = 1024