elm-repl icon indicating copy to clipboard operation
elm-repl copied to clipboard

Cursor can be freely moved under certain terminals, history inaccessible

Open peabnuts123 opened this issue 7 years ago • 1 comments

I've only tested this on Windows in cmd, powershell and MINGW64 (Git bash).

In MINGW64 the arrow keys allow me to move the cursor freely to any part of the screen and begin typing there. Up and Down do NOT go through the history but rather move the cursor up/down to lines that previously had text output on them. Wherever the cursor is, I can type to that position on the screen, backspace, and press return. When pressing return the command is executed at that position on the screen, which is definitely erroneous. Again this ONLY happens in MINGW64. Other applications (cmd, powershell etc.) work as expected.

P.S. actually, testing this in VSCode terminal (which is configured to run git bash) works fine. So it's really just MINGW64's terminal window, which does not usually allow this, it seems to be only related to elm-repl.

Initial State Initial state

Cursor on wrong line, writing text Image of cursor on wrong line

Pressing Return, command is executed at that position Executing instruction on wrong line

peabnuts123 avatar Apr 18 '17 22:04 peabnuts123

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot avatar Apr 18 '17 22:04 process-bot