But the issue is more complex: It doesn't reproduce on all terminals, and even zsh on MacOS on different machines behave differently. I am creating this issue so that we can find the steps to reproduce and document properly. Perhaps, include it in the test plan/scenarios. Below is the example of what to expect:
The solution to this problem is found: We need to append the RTL symbol with corresponding control character:
But the issue is more complex: It doesn't reproduce on all terminals, and even zsh on MacOS on different machines behave differently. I am creating this issue so that we can find the steps to reproduce and document properly. Perhaps, include it in the test plan/scenarios. Below is the example of what to expect: