[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bug in bash/libreadline ?

Juli-Manel Merino Vidal <jmmv@mail.com> writes:

> I've noticed a problem with bash that is very annoying. This only happens
> with the latest version that I've downloaded two weeks before. When I
> reach the end of the line writing or with a completion, bash doesn't jumps
> to the next line; instead it goes to the start of the current. (It's not
> really end of line, perhaps at 70 col). And, if I go back, it jumps two
> lines above.

You probably have non-printing characters in your prompt (control
characters to boldface something for example), and you forgot to
surround them with \[ and \].  See the PROMPTING section of bash(1).


Reply to: