Re: [Help-bash] read -ep and ANSI colour sequences
From:
Chris Down
Subject:
Re: [Help-bash] read -ep and ANSI colour sequences
Date:
Wed, 20 Feb 2013 19:57:28 +0800
User-agent:
Mutt/1.5.21 (2010-09-15)
On 2013-02-20 13:44, Pierre Gaston wrote:
> The problem appears when your answer reach the rightmost column of
> your termina, it will wrap instead of going to the next line.
> Try with and without colors in the prompt and type enough chars to
> reach the end of the line and you will see.
Yes, that's true. As far as I am aware there is no way around this using
readline.
If there is no reason to use readline, just omit `-e'. It should solve this
problem (at least it does as far as I can tell).
Chris