Closed coolreader18 closed 4 years ago
@wavesoft would you be able to take a look at this?
Hello and thanks for the PR @coolreader18 ! Will have a look now
It looks as if the reviewer suggestions have been applied in the latest commit. Can we expect this PR to be merged soon?
is it ready for xtermjs 4.x ? can't find a release working with xtermjs 4.x
How about ditching support for older xtermjs versions altogether? An older version of local-echo can be used with an oder xtermjs, but there is currently no version of local-echo that works with the current version of xtermjs.
I just installed the branch from github and it's working great.
I concur - master
does not work but the branch of this PR does work.
I suggest a merge.
@wavesoft @coolreader18 any update on this? looking to get a local-echo working with xterm >= v4
@jasonolmstead33 I suggest installing from the branch instead of the main repo. 😁
@RangerMauve thats what ive done for now, thanks, hoping we can get it as part of master :)
Hey guys! Sorry for the long absence, going to land this, run some checks and cut a new release 👍
@wavesoft It looks like release hasn't been cut yet?
@wavesoft Ping. Can you please at least add a prebuilt version to the repo? For now I can do npm install github:wavesoft/local-echo
, but then need to cd node_modules && npm install && npm run build
, which is quite tedious and error-prone.
This should still be compatible with xterm v3, though I haven't actually tested it. The
onData
andonResize
methods have been there for a while (typescript typings for xtermjs 3.14), and in theory even the new addon system could be used in xtermjs 3.14, though the old way of passing a terminal to the constructor still works.