On Fri, Feb 22, 2013 at 10:00 PM, Roland Eggner
<[email protected]> wrote:
> On 2013-02-20 Wednesday at 16:48 +0100 Bram Moolenaar wrote:
>>
>> Patch 7.3.826
>> Problem:    List of features in :version output is hard to read.
>> Solution:   Make columns. (Nazri Ramliy)
>> Files:            src/version.c
>
> On wide terminals the feature list in :version message is interrupted by empty
> lines, observed with e.g. COLUMNS=320.  Bugfix attached.

A shorter patch, but the fixes the same problem:

diff -r 8b86b69546a9 src/version.c
--- a/src/version.c     Wed Feb 20 21:26:00 2013 +0100
+++ b/src/version.c     Fri Feb 22 23:20:08 2013 +0800
@@ -2515,7 +2515,8 @@
            }
        }
        else
-           msg_putchar('\n');
+           if (msg_col > 0)
+               msg_putchar('\n');
     }
 }
     void

Nazri

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui