When encoding is utf-8 and 'statusline' options is used, statusline
flickers for every cursor moving.  This occurs on GTK2 GUI.  Maybe video
driver is related.
The following patch fixes this problem.  This prevent unnecessary
redrawing properly.


Index: src/screen.c
===================================================================
--- src/screen.c        (revision 1365)
+++ src/screen.c        (working copy)
@@ -6358,7 +6358,7 @@
                    && c == 0x8e
                    && ScreenLines2[off] != ptr[1])
                || (enc_utf8
-                   && (ScreenLinesUC[off] != (u8char_T)u8c
+                   && (ScreenLinesUC[off] != (u8char_T)(c >= 0x80 ? u8c : 0)
                        || screen_comp_differs(off, u8cc)))
 #endif
                || ScreenAttrs[off] != attr


-- 
Yukihiro Nakadaira - yukihiro.nakada...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui