Bidi mode (BDSM)
Page: The escape sequences Section: Implicit vs. explicit
It would be helpful to describe bidi enabling more clearly in the mode sequences:
- Implicit mode (enable bidi): CSI 8 h
- Explicit mode (disable bidi): CSI 8 l
because that’s the terminal point of view.
As I understand, these are global modes, i.e. the whole display is immediately affected (?).
Mintty implements these sequences. It also has another (private mode) sequence to disable bidi on the current line only. This may be helpful for an application to draw menus and other boxes but leave bidi lines outside their area untouched.