tvi: explain when the screen is updated in vi() - neatvi - [fork] simple vi-typ… | |
git clone git://src.adamsgaard.dk/neatvi | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 5ed4bbc7f12686bb480ab8b2b05c94e12b1c71d8 | |
parent c200015e9b9aca02b6d622a55929e2b30e4912a5 | |
Author: Ali Gholami Rudi <[email protected]> | |
Date: Sun, 1 Oct 2017 10:37:44 +0330 | |
vi: explain when the screen is updated in vi() | |
Diffstat: | |
M vi.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/vi.c b/vi.c | |
t@@ -1049,7 +1049,7 @@ static void vi(void) | |
vi_drawagain(xcol, 0); | |
term_pos(xrow - xtop, led_pos(lbuf_get(xb, xrow), xcol)); | |
while (!xquit) { | |
- int mod = 0; /* screen should be redrawn */ | |
+ int mod = 0; /* screen should be redrawn (1: current li… | |
int nrow = xrow; | |
int noff = ren_noeol(lbuf_get(xb, xrow), xoff); | |
int otop = xtop; |