summaryrefslogtreecommitdiff
path: root/src/tty_interface.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2016-06-19 23:58:44 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2016-06-20 23:31:07 -0700
commit1852e205670b6cb959a5b17604e8cd27e38bdb9e (patch)
tree58c45a1d51676464b9d6d01ce35e0b94142993c3 /src/tty_interface.h
parentd7ee7efb6e33fe85fc19c922fb7c444d4ef8dcc9 (diff)
Track last search
This allows us to avoid explicitly calling out to choices_search
Diffstat (limited to 'src/tty_interface.h')
-rw-r--r--src/tty_interface.h1
1 files changed, 1 insertions, 0 deletions
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;