|
|
|
|
|
by rsclient
894 days ago
|
|
I used to program many different terminals, back when they were a thing. A classic terminal only has a screen full of memory: it does have extra memory that would allow it to scroll backwards. The ESC [ S command (CSI itself can only be used if you are sure the line to the terminal is 8-bit clean, and as a third-party developer, I could not guarantee that) scrolls the scrolling region. The scrolling region is either the entire screen, or it's just a couple of line at the bottom. A scrolling region is used so the use can have a scrolling place to type commands and Aldo have a non-scrolling area to display data. |
|