How to use JBTerminalWidget to emulate terminal behavior?
Planned
Hi,
In my plugin I want to get user input in a form of interaction with terminal. So I want to get a user query from a terminal, process it in plugin and show result back to terminal window.
I have found this example of using JediTerm without connecting to any process so it is exactly what I need. But it only prints some text and does not react on typing. I assume that for my purpose I need to adjust TtyConnector implementation from the example.
When debugging I see that data is coming from terminal when I'm typing but I'm not sure about the right way to display it in the widget and finally read line with user input...
I would appreciate any help.
Thanks!
Please sign in to leave a comment.