aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-21 23:45:34 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-22 00:05:31 +0200
commit6a7f12527b1d5f562c8e762126719706329aae8b (patch)
tree0c22b2d3b7b4fb5dbf6a12c2d2f171bebaf95d48 /view.c
parentbadb616c967f78aaae0939d794606599395ae6cc (diff)
downloadvis-6a7f12527b1d5f562c8e762126719706329aae8b.tar.gz
vis-6a7f12527b1d5f562c8e762126719706329aae8b.tar.xz
vis: refactor status line handling
Make window status bar content configurable via Lua.
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index e67dc42..4b06d3a 100644
--- a/view.c
+++ b/view.c
@@ -439,8 +439,8 @@ void view_update(View *view) {
if (!view->need_update)
return;
- if (view->events->highlight)
- view->events->highlight(view->events->data);
+ if (view->events->draw)
+ view->events->draw(view->events->data);
if (view->colorcolumn > 0) {
size_t lineno = 0;