summaryrefslogtreecommitdiff
path: root/src/entry.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-17 01:15:13 +0000
committerPhil Jones <philj56@gmail.com>2021-11-17 01:15:13 +0000
commit7562d7b539d8013376de2cff494231ba307f4ee1 (patch)
tree1eb4e8b28ed10da0e7a582cc4a38cfc37cef3ff8 /src/entry.h
parent49c7405b6a88e56bb69e12189adb719927343e07 (diff)
Add sorting by run frequency.
This implements a rofi-like run cache. Other smaller changes include simplification of resize logic now that there's only one surface.
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entry.h b/src/entry.h
index 6d4023f..6efe773 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -3,6 +3,7 @@
#include <pango/pangocairo.h>
#include "color.h"
+#include "history.h"
#include "image.h"
#include "surface.h"
#include "string_vec.h"
@@ -30,6 +31,7 @@ struct entry {
struct string_vec results;
struct string_vec commands;
+ struct history history;
/* Options */
uint32_t font_size;