From 1852e205670b6cb959a5b17604e8cd27e38bdb9e Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sun, 19 Jun 2016 23:58:44 -0700 Subject: Track last search This allows us to avoid explicitly calling out to choices_search --- src/tty_interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tty_interface.h') diff --git a/src/tty_interface.h b/src/tty_interface.h index d6b05de..bb53cfe 100644 --- a/src/tty_interface.h +++ b/src/tty_interface.h @@ -13,6 +13,7 @@ typedef struct { options_t *options; char search[SEARCH_SIZE_MAX + 1]; + char last_search[SEARCH_SIZE_MAX + 1]; int exit; } tty_interface_t; -- cgit v1.2.3