Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: weird history bug (involves unicode characters)



2008/9/18 Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>:
> On Thu, 18 Sep 2008 14:15:12 +0200
> "Mikael Magnusson" <mikachu@xxxxxxxxx> wrote:
>> zsh -f<enter>
>> : ト<enter>
>> <alt-.>
>> #this brings back the ト
>> <ctrl-c>
>> <uparrow>
>>
>> only the colon appears, and alt-. also stops working completely
>
> I can't work out why no one else sees these problems...
>
> I should never have made stringaszleline() modify the string in place.
> It was supposed to be more efficient but I keep forgetting.  I should
> perhaps make it a flag which should be enough to remind me.

Thanks, this fixes the problem for me. I've seen the problem intermittently
for a while, but it wasn't until today that I figured out that
insert-last-word was the problem.

-- 
Mikael Magnusson


Messages sorted by: Reverse Date, Date, Thread, Author