Hi Nazri!
On Sa, 07 Mär 2015, Nazri Ramliy wrote:
> Hi,
>
> :ver
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 7 2015 10:48:00)
> Included patches: 1-657
>
> Here's a reproducible steps (it assumes that the environment variables
> $LINES and $COLUMNS are set to the rows and columns of your terminal):
>
> $ { echo -n " a = "; for i in `seq 1 $LINES`; do for j in `seq 1
> $COLUMNS`; do echo -n a; done;done; } > a.txt
> $ vi -u NONE -c 'set rnu showbreak=>\ ' a.txt
>
> Once vim starts hit $ to go to the end of the line and notice that the
> there are extra characters drawn after the cursor.
This only happens in vi mode (or more specifically, when cpo contains
the 'n' flag). Looks like Vim gets confused, because the first visible
screen line already shows the sbr string and that is not expected for a
screen row, that contains a line number.
Best
Christian
--
Alles, was entsteht, sucht sich Raum und will Dauer; deswegen
verdrängt es ein anderes vom Platz und verkürzt seine Dauer.
-- Goethe, Maximen und Reflektionen, Nr. 997
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.