Next: , Previous: , Up: Special sequences sent by back-end and handled by DomTerm   [Contents]


16.3.1.7 Alterate screen buffers

"\e[84;2u"
"\e[84;3u"
"\e[84;5u"

Push a new buffer, and set the cursor to the upper left of the new buffer. This is similar to the standard xterm sequence "\e[?1049h", but it creates a buffer even if already using the alternate buffer. (The new buffer is marked as an "alternate" buffer if using "\e[84;5u", and a "main" buffer otherwise. There isn’t much difference between them, though they may be styled differently.)

Using "\e[84;3u" (or "\e[84;5u") scrolls the top of the new buffer to the start of visible window; using "\e[84;2u" does not automatically scroll. In either case the default styling separates the new buffer from the previous buffer with a double line.

"\e[84;1u"

Pop the most recent buffer. (Ignored if it is the only buffer.)