vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 3d5f154f63ad1a15c4bdb88c0d972ab10533b01e
parent f06ce25ccf5581c4e353d9153f728d5f718cf39f
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Fri, 12 May 2017 23:54:14 +0200

vis: immediately update screen after a vis_redraw call

By default we only update the screen once per main loop iteration.
This might change in the future, but for now we force an update when a
redraw is explicitly requested.

Diffstat:
Mvis.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vis.c b/vis.c @@ -548,6 +548,7 @@ void vis_draw(Vis *vis) { void vis_redraw(Vis *vis) { vis->ui->redraw(vis->ui); + vis_update(vis); } void vis_update(Vis *vis) {