WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

Sender 能支持 tab 吗?

Open JarboU opened this issue 1 year ago • 1 comments

目前在终端里能支持tab命令补全,希望能在 Sender 里也支持 Tab 命令补全

JarboU avatar Dec 05 '23 08:12 JarboU

This feature is not easy to implement because the auto-completion of the Tab key is accomplished by shell, not WindTerm. To achieve this feature in sender, there are two methods: one is to synchronously input any character into shell when entering it in sender, and capture the output from shell as the content of sender. The other solution is to establish a new session with the server in the background, execute the input from sender on this session, and capture the output of this session as the content of sender. Whichever method is used, it requires passing the input to the server and capturing the corresponding output, so it's not very easy to implement.

Moreover, sender is not designed to replace command-line input but to continuously input text at a certain frequency. Of course, sender still has some nice features that are not yet complete, such as quickly loading and saving historical input content, and script execution.

BTW, the feature you need will be addressed in a new design in version 3.x, so please be patient.

kingToolbox avatar Dec 05 '23 14:12 kingToolbox