|
From: | Roumen Petrov |
Subject: | Re: scrolling regions and ncurses demo program rain |
Date: | Thu, 20 Aug 2020 21:28:49 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 |
Hi, Thomas Dickey wrote:
On Wed, Aug 19, 2020 at 10:59:24PM +0300, Roumen Petrov wrote:Hello, I read code of rain program and library code but some things are not clear to me. Why demo program uses escape sequence to set margins on screen?Which particular escape sequence are you talking about?
Esc [ Pn ; Pn r - set top and bottom margins Attached picture shows a dump of program output.
The reset program (or "tput reset") would do this, but not a typical program.Which part of code is responsible for this? Regards, Roumen Petrov
Roumen
playlog.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |