Here’s a new patch. I can try to see what readline is willing to do regarding documenting this limitation, but that might take a while because I’d have to figure out where to send contributions and the process to getting them merged in (I *think* I’m supposed to send an email to bug-readline@gnu.org?) Hopefully this patch is useful on its own until readline is fixed. Regards, Saagar Jha