tvi: redraw with ^l - neatvi - [fork] simple vi-type editor with UTF-8 support
(HTM) git clone git://src.adamsgaard.dk/neatvi
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit dcb1d3eacc7ea7fdc2ee28b1eb6037e3d819cd2c
(DIR) parent 70f7eb3e153a4b749d07c242945d4a693085c6fc
(HTM) Author: Ali Gholami Rudi <ali@rudi.ir>
Date: Mon, 21 Sep 2015 16:05:16 +0430
vi: redraw with ^l
Diffstat:
M vi.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/vi.c b/vi.c
t@@ -1143,6 +1143,9 @@ static void vi(void)
if (!vc_join())
redraw = 1;
break;
+ case TK_CTL('l'):
+ redraw = 1;
+ break;
case 'm':
if ((mark = vi_read()) > 0 && islower(mark))
lbuf_mark(xb, mark, xrow, xoff);