SSHLineEditorChannel API documentation clear_input() and set_input()

8 views
Skip to first unread message

Clinton Langerak

unread,
Oct 5, 2023, 8:44:29 PM10/5/23
to asyncssh-users
Hi,

Thanks for AsyncSSH, it's fantastic.

I've been using the SSHLineEditorChannel register_key() method to facilitate tab completion on a custom shell. However, I also have a need to be able to modify the line asynchronously and was struggling to find a way to do it.

Looking at the editor.py source, I found two public methods clear_input() and set_input() which work perfectly for my use case, however they are missing from the API documentation? Is this intentional or an oversight?

Kind regards,
Clint.
Reply all
Reply to author
Forward
0 new messages