Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Pasting UTF-8 characters with bracketed-paste-magic seems broken in 5.1
On Sep 10, 4:57pm, Axel Beckert wrote:
}
} > (1) There is a problem handling multibyte characters in the built-in
} > read-commmand widget; or
} >
} > (2) There is a problem with using ${PASTED#$KEYS} to remove multi-byte
} > characters from the beginning of the pasted text.
}
} (2) looks fine on a first glance:
}
} PASTED=äoö
} KEYS=äo
} echo ${PASTED#$KEYS}
} ö
Yes, but KEYS is a ZLE local so its content may be escaped or something.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author