diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-05-12 23:54:14 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-05-12 23:54:14 +0200 |
| commit | 49db502f1721184a428feb99ed7621b24ce749bc (patch) | |
| tree | 3f199b77f2c684062e8894ba3cad7c5468c3b681 /vis.c | |
| parent | 3e433c98f5c1006d2a4f0f1c139573b9ac478435 (diff) | |
| download | vis-49db502f1721184a428feb99ed7621b24ce749bc.tar.gz vis-49db502f1721184a428feb99ed7621b24ce749bc.tar.xz | |
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 (limited to 'vis.c')
| -rw-r--r-- | vis.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |
