You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: