gotoline jumps from toprow to bottomrow
Ivan Vorontsov <[email protected]> Sun, 5 Oct 2025 09:48:21 +0300
| Newsgroups | gmane.editors.nano.devel |
|---|---|
| Message-ID | <aOIUtR8k902VtZ8V@DESKTOP-97PAREG> |
nano 8.6
Example 1:
1. {toprow}{gotoline}--1{enter} # top row
2. {toprow}{gotoline}--2{enter} # bottom row
3. {toprow}{gotoline}--3{enter} # second row before bottom row
4. {toprow}{gotoline}--4{enter} # third row before bottom row
5. ... so forth ...
Example 2:
1. {bottomrow}{gotoline}++1{enter} # bottom row
2. {bottomrow}{gotoline}++2{enter} # bottom row
3. {bottomrow}{gotoline}++3{enter} # bottom row
4. ... so forth ...
{toprow}{up} and {bottomrow}{down} don't jump to the opposite side, so I
assume that's the right behaviour. Hence, Example 1 is buggy.