Closed GoogleCodeExporter closed 8 years ago
Sounds like you might have a problem with your prompt setting, i.e. PS1. All
non-
printing parts of it need to be enclosed in \[ and \] to tell bash/readline not
to
count them towards the prompts length, otherwise it gets confused about cursor
position.
Here's the default Cygwin prompt as an example:
PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
Original comment by andy.koppe
on 7 Jun 2010 at 5:30
Update: doesn't seem to matter if I'm using a fancy command prompt or the
default
cygwin prompt.
Original comment by thomas.e...@gmail.com
on 7 Jun 2010 at 5:31
err ... ummm ... ahem ...
*thank you*
Original comment by thomas.e...@gmail.com
on 7 Jun 2010 at 6:03
Original comment by andy.koppe
on 7 Jun 2010 at 6:10
Issue 296 has been merged into this issue.
Original comment by andy.koppe
on 17 Oct 2011 at 9:37
Issue 355 has been merged into this issue.
Original comment by andy.koppe
on 21 Oct 2012 at 5:00
Original issue reported on code.google.com by
thomas.e...@gmail.com
on 7 Jun 2010 at 4:31