79108292

Date: 2024-10-21 00:42:19
Score: 1.5
Natty:
Report link

Well, I have gotten no answers since I posted this questions. But I have figured some things out on my own.

I found discussion of this here.

The syntax is ESC[?1049h, and ESC[?1049l -- here 'h' activates the alternate buffer and 'l' returns to normal mode. Other similar codes are 1047 and 1048. But apparently they are older and have less functionality.

The fact that this code starts with ESC[? apparently indicates that this is a private setmode, and functionality may vary across various terminals.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kdtop