summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thumbs.h b/thumbs.h
index e6c6e7f..2f1c14d 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -45,6 +45,7 @@ typedef struct tns_s {
int rows;
int first;
int sel;
+ unsigned char dirty;
} tns_t;
void tns_init(tns_t*, int);
@@ -55,7 +56,7 @@ void tns_load(tns_t*, win_t*, const char*);
void tns_render(tns_t*, win_t*);
void tns_highlight(tns_t*, win_t*, int);
-void tns_move_selection(tns_t*, win_t*, movedir_t);
+int tns_move_selection(tns_t*, win_t*, movedir_t);
int tns_translate(tns_t*, int, int);