diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-05-21 23:45:34 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-05-22 00:05:31 +0200 |
| commit | 6a7f12527b1d5f562c8e762126719706329aae8b (patch) | |
| tree | 0c22b2d3b7b4fb5dbf6a12c2d2f171bebaf95d48 /vis.h | |
| parent | badb616c967f78aaae0939d794606599395ae6cc (diff) | |
| download | vis-6a7f12527b1d5f562c8e762126719706329aae8b.tar.gz vis-6a7f12527b1d5f562c8e762126719706329aae8b.tar.xz | |
vis: refactor status line handling
Make window status bar content configurable via Lua.
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 <keyaction->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*); |
