Closed deflexable closed 6 months ago
You could wrap xterm.js into a web component exposing mandatory settings as attributes, schematically something like this:
<terminal connection="wss://some/websocket/path" cols="120" rows="35" some_other_needed_setting="xyz" />
how to make xterm self controlled instead of manually writing with
write(string)
. I want it to exhibit the behavior of an<input />
in HTML