Sending command text to the terminal but not execute it
Answered
From the plugin how to send some command text to the terminal but not execute it and let the user type additional command line arguments, potentially using tab completion etc and then execute the command.
What is the suggested API to implement this?
Please sign in to leave a comment.
Please write a string using
com.jediterm.terminal.TtyConnector#write(java.lang.String)
. The string shouldn’t end with\r
to avoid execution.Use
com.jediterm.terminal.ui.JediTermWidget#getTtyConnector
to getTtyConnector
instance.Thanks Sergey for your quick response. However I am using this code: