Using the crate ansi_term, I added color to a prompt. On my Linux machine, this works as expected. On Windows, however, the behavior is a little strange. For this example, I have an arrow prompt => colored blue.
- Initially, the prompt is indented.

- If you hit backspace, the entered text shifts to the correct position, but the cursor stays on the right.

- From here, you can type the prompt again from the cursor positon...

- And the characters get pushed back again on backspace.

I'm not sure why this is happening, or if this is an issue with rustyline or just Windows itself (this also happens on PowerShell). Any ideas?
Using the crate
ansi_term, I added color to a prompt. On my Linux machine, this works as expected. On Windows, however, the behavior is a little strange. For this example, I have an arrow prompt=>colored blue.I'm not sure why this is happening, or if this is an issue with rustyline or just Windows itself (this also happens on PowerShell). Any ideas?