bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cursor movements within scrolling regions


From: Roumen Petrov
Subject: cursor movements within scrolling regions
Date: Thu, 20 Aug 2020 21:43:22 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3

Hello,

As maintainer of a terminal application, now I'm interesting in quality of emulation. For tests I 
use various sources and one of them is ncurses. Few months ago I commit one correction "do not 
restrict cursor movements(up/down) to scroll region if set" inspired from ncurses demo program 
"rain".
I would like to discuss one of terminal tests part of commit.

In general the tests scenario is: clear screen, set margins, set cursor position, 
output L1, move cursor, output L2, output some text lines with <eol>.
Interesting is following test: cursor-down2 ( 
https://gitlab.com/termapps/termoneplus/-/blob/master/tests/cursor-down2 )
With this test my expectation is:
-------------------
<empty line>
<empty line>
<empty line>
L1
text2
text3
<PS1 prompt>
  L2text1
<... empty lines ...>
-------------------
and this is now output in "TermOne Plus".


Unfortunately in xterm and konsole result is:
-------------------


L1L2text1
text2
text3
<PS1 prompt>
<... empty lines ...>
-------------------

I wonder what is expected result?
Did I miss some rules when cursor is moved down? Reference to documentation 
could be very helpfull.


Regards,
Roumen Petrov




reply via email to

[Prev in Thread] Current Thread [Next in Thread]