Introduction
Introduction Statistics Contact Development Disclaimer Help
tvi: redraw if commands like x change visible columns - neatvi - [fork] simple …
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit ba8b939c9468cb119218cf20df963e1cd59fdd44
parent 9bf5bfb3a0527155ff78c62a89f1dff81df6e113
Author: Ali Gholami Rudi <[email protected]>
Date: Thu, 22 Sep 2016 17:07:37 +0330
vi: redraw if commands like x change visible columns
Diffstat:
M vi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vi.c b/vi.c
t@@ -1322,7 +1322,7 @@ static void vi(void)
xleft = xcol < xcols ? 0 : xcol - xcols / 2;
vi_wait();
if (mod || xleft != oleft)
- vi_drawagain(xcol, mod == 2);
+ vi_drawagain(xcol, mod == 2 && xleft == oleft);
else if (xtop != otop)
vi_drawupdate(xcol, otop);
if (vi_msg[0])
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.