From 6a7f12527b1d5f562c8e762126719706329aae8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 21 May 2016 23:45:34 +0200 Subject: vis: refactor status line handling Make window status bar content configurable via Lua. --- vis.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 7dde13f..d699085 100644 --- a/vis.h +++ b/vis.h @@ -35,6 +35,7 @@ typedef struct { void (*win_close)(Vis*, Win*); void (*win_highlight)(Vis*, Win*, size_t horizon); bool (*win_syntax)(Vis*, Win*, const char *syntax); + void (*win_status)(Vis*, Win*); } VisEvent; typedef union { /* various types of arguments passed to key action functions */ @@ -162,8 +163,6 @@ bool vis_window_mode_map(Win*, enum VisMode, bool force, const char *key, const /* in the specified mode: unmap a given key, fails if the key is not currently mapped */ bool vis_mode_unmap(Vis*, enum VisMode, const char *key); bool vis_window_mode_unmap(Win*, enum VisMode, const char *key); -/* get the current mode's status line indicator */ -const char *vis_mode_status(Vis*); /* associates the special pseudo key name> with the given key action. * after successfull registration the pseudo key can be used key binding aliases */ bool vis_action_register(Vis*, const KeyAction*); -- cgit v1.2.3