nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] softwrap navigation overhaul, now breaking on whitespac


From: Benno Schulenberg
Subject: Re: [Nano-devel] softwrap navigation overhaul, now breaking on whitespace
Date: Mon, 06 Mar 2017 21:43:14 +0100

On Wed, Mar 1, 2017, at 22:57, David Ramsey wrote:
> The softwrap navigation overhaul now breaks words on whitespace
> boundaries near the edge of the screen.

Well... I don't want that to be the default behavior of softwrap.
The default behavior should be like in vim or emacs: just break
the line at the edge of the screen, and if a two-column character
happens to start in the last column, push it to the next row (in
vim the last column then shows a >, and emacs a second \ ).

> in its place, there's an attempt to document dynamic home and dynamic
> end on the help screen.

I don't think it needs any explanation.  And I don't want the built-in
help to get any longer -- I don't think anyone reads it anyway.

> also applies to
> control characters, which technically could be split this way but no
> longer will be; I think this change is okay, though.

Yes, not splitting control characters is nice.

> (I've tried to make this as robust as I can, but there are two issues
> with two-column Unicode characters under extremely narrow terminal sizes
> that I have no idea how to fix.

Switch softwrap off when the terminal is narrower than three columns?
On such a narrow terminal nano is unusable anyway; the only requirement
is that it doesn't crash and doesn't hang, that it keeps on functioning
even though you can't see what you're doing.

Benno

-- 
http://www.fastmail.com - A fast, anti-spam email service.




reply via email to

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