You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a method to write to application side from xterm.js' API. Internally xterm.js uses this.coreService.triggerDataEvent for this, which can easily be exposed at the API as well.
interface suggestion
exportclassTerminalimplementsIDisposable{
...
/** * Input data to application side. * The data is treated the same way as typed input at the terminal (will appear in the onData event). */input(data: string): void;
...
}
Such a method would help to automate data input programmatically, e.g. from the clipboard addon w'o hooking into hidden internals.
The text was updated successfully, but these errors were encountered:
Coming from #4220 and this comment #4220 (comment)
It would be nice to have a method to write to application side from xterm.js' API. Internally xterm.js uses
this.coreService.triggerDataEvent
for this, which can easily be exposed at the API as well.interface suggestion
Such a method would help to automate data input programmatically, e.g. from the clipboard addon w'o hooking into hidden internals.
The text was updated successfully, but these errors were encountered: