To prevent the prompt from warping around right-to-left text, I want to insert a zero width LRM into the bash prompt (U200e). Since this is a zero width character, my instinct was to wrap it with \[<200e>\]. Turns out, that actually causes bash to line wrap in the wrong place. When I don't wrap it with anything, then it seems to work fine.
Which I don't understand. Even if bash auto-detects this character is a zero width, wrapping a \[...\] around it shouldn't have hurt anything.
EDITED:
So the question is: when is \[...\] escaping actually needed, and how can it possibly be harmful if the chars it escapes are actually zero width.