[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Port of variable-width chunks (version 2)
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Port of variable-width chunks (version 2) |
Date: |
Tue, 27 Jun 2017 13:56:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
Op 19-05-17 om 08:02 schreef David Ramsey:
The new version (version 2, synced with git c1b0830) is attached.
Okay. There is one problem. To reproduce (with atblanks unset):
stty cols 50 && src/nano --soft +76,418 doc/faq.html
Notice how the cursor is somewhere in the last chunk of a line,
and that the line ends at the very edge of the screen (which is
strange, because: where is the newline?).
Now press <End>. Nothing happens. Weird! Now press <Left>. The
cursor appears at the end of the line. Ah! The <End> /did/ move
the cursor to the end of the line, but it couldn't be placed there
because the end of line is beyond the edge of the terminal.
The chunk routines somehow don't count the terminating (but absent)
newline character as part of the line.
I've pushed your mildly tweaked patches to this branch:
http://git.savannah.gnu.org/cgit/nano.git/log/?h=varisoft
If you make a fix, it will be best do it on top of that branch.
Benno
- Re: [Nano-devel] Port of variable-width chunks (version 2), Benno Schulenberg, 2017/06/21
- Re: [Nano-devel] Port of variable-width chunks (version 2),
Benno Schulenberg <=
- Re: [Nano-devel] Port of variable-width chunks (version 2), David Ramsey, 2017/06/27
- [Nano-devel] a newline getting pushed offscreen, Benno Schulenberg, 2017/06/27
- Re: [Nano-devel] a newline getting pushed offscreen, Benno Schulenberg, 2017/06/27
- Re: [Nano-devel] a newline getting pushed offscreen, David Ramsey, 2017/06/27
- Re: [Nano-devel] a newline getting pushed offscreen, David Ramsey, 2017/06/27
- Re: [Nano-devel] a newline getting pushed offscreen, David Ramsey, 2017/06/27
- Re: [Nano-devel] a newline getting pushed offscreen, Benno Schulenberg, 2017/06/28
- Re: [Nano-devel] a newline getting pushed offscreen, Benno Schulenberg, 2017/06/28