bug-bash
[Top][All Lists]
Advanced

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

Re: how to workaroun 'nl' being added to input-line after 49 characters.


From: Bob Proulx
Subject: Re: how to workaroun 'nl' being added to input-line after 49 characters....
Date: Sun, 13 Feb 2011 18:04:24 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

Linda Walsh wrote:
> Thanks for all the great suggestions on how to do the
> encoding differently -- how about ideas on the input line
> length being truncated?

You seem to have misunderstood.  Each and every one of those response
has addressed your issue of input line length problems.  The solution
to your line length problems is that you need to wrap non-printable
characters such as your color sequences in quoted square brackets in
order for readline to know that you are emitting non-printable
characters.  Otherwise it will count them as having taken up a column.
This is what all of the discussion around the \[...\] has been about.
Unless I have completely misunderstood your problem but I don't think
so.

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]