Arnaldo Carvalho de Melo wrote:
> Em Wed, Nov 09, 2011 at 11:40:01AM +0100, Gerd Hoffmann escreveu:
> > Hi,
> >
> > > What we want to have is to have a set of distinctive colors - just
> > > two (background, foreground) colors are not enough - we also need
> > > colors to highlight certain inf
If readline_handle_byte() is sent both a CR and LF, and
readline_start() is not called after the first CR, then the LF will
cause the same command to be executed a second time. Fix this by
explicitly resetting the buffer pointers when it is processed.
Signed-off-by: Jim Paris <[EMAIL PROTEC