adamdruppe / arsd

This is a collection of modules that I've released over the years. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo.
http://arsd-official.dpldocs.info/arsd.html
530 stars 125 forks source link

terminal: Add scrollX and scrollY #396

Open MrcSnm opened 9 months ago

MrcSnm commented 9 months ago

While playing with terminal, main problem with moveTo is that when using PowerShell, the moveTo is relative to the current powershell scroll.

That means I would need to moveTo(0, t.cursorY - t.scrollY). Though on cmd, there's no need since it doesn't offset by scroll. Although I could simply say "do not use powershell", the default terminal on VSCode is powershell so it is quite important to have that working.