Ticket #1627: mc-widechar-view.patch
File mc-widechar-view.patch, 478 bytes (added by mnk, 15 years ago) |
---|
-
src/viewer/plain.c
old new 151 151 #endif 152 152 tty_print_anychar (c); 153 153 } 154 col++;155 154 tty_setcolor (NORMAL_COLOR); 155 if (g_unichar_isprint (c)) { 156 if (g_unichar_iswide(c)) { col += 2; } 157 else { if (!g_unichar_iszerowidth(c)) { col++; } } 158 } else { col++; } 156 159 } 157 160 view->dpy_end = from; 158 161 }