wavesoft / local-echo

A local-echo controller for xterm.js
Apache License 2.0
142 stars 71 forks source link

Using xterm features like changing color and such breaks cursor location #43

Open Hedwig8 opened 3 years ago

Hedwig8 commented 3 years ago

Adding ansi escape codes such as '\x1B[34m' to change terminal color changes cursor location. I suppose the .read function is counting the length of the string to change its location but some of these characters are control.

image

dragoncoder047 commented 2 years ago

Duplicate of #24. there is a patch there already.