inim-repl / INim

Interactive Nim shell / REPL / Playground
MIT License
644 stars 23 forks source link

"handle is invalid" on setCursorXPos, powershell #115

Open ghost opened 3 years ago

ghost commented 3 years ago

How to reproduce this bug?

  1. Open powershell
  2. Install inim via nimble install inim or clone the master branch and build by nimble build, it can be reproduced both ways
  3. import terminal
  4. setCursorXPos(1)

Outcome:

image

Expected Outcome:

Not sure, but definitely not an error message.

Platform: windows 10, powershell, inim 0.6.1

ghost commented 3 years ago

Also happens with setCursorPos, eraseScreen, eraseLine, cursorUp...

0atman commented 3 years ago

Can't replicate this on Ubuntu, and I don't have a windows machine to test this on, can anyone help here?

ghost commented 3 years ago

Can't replicate this on Ubuntu, and I don't have a windows machine to test this on, can anyone help here?

Yes, I also tried on linux, powershell is the only platform I could replicate it on.