From a367d35ba0f9edf8a01f7d98d9f58df9df292c15 Mon Sep 17 00:00:00 2001 From: Bert Date: Sat, 19 Feb 2011 09:47:53 +0100 Subject: Update title when moving selection --- thumbs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'thumbs.h') 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); -- cgit v1.2.3