Y
Hacker News
new
|
ask
|
show
|
jobs
by
mgedmin
4861 days ago
You need to wrap the escapes in \[ \] to tell bash (actually readline) that these characters do not advance the cursor when printed.