commit 75ae09aea0ef7d60a69e59da0dc5ec1389f38c94
parent 34a9cb108b75a77f8a391eb987a6cd82147bbfde
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 1 Aug 2020 14:01:09 +0200
add a comment about the use of optional callbacks
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -80,7 +80,7 @@ struct pane {
int focused; /* has focus or not */
int hidden; /* is visible or not */
int dirty; /* needs draw update */
-
+ /* (optional) callback functions */
struct row *(*row_get)(struct pane *, off_t pos);
char *(*row_format)(struct pane *, struct row *);
int (*row_match)(struct pane *, struct row *, const char *);