summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index 3d5f2ca6..c624639d 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -5,6 +5,7 @@
#include "option.hh"
#include "display_buffer.hh"
#include "vector.hh"
+#include "utils.hh"
#include "optional.hh"
@@ -78,7 +79,7 @@ public:
InsertCompleter& operator=(const InsertCompleter&) = delete;
~InsertCompleter();
- void select(int index, bool relative, Vector<Key>* keystrokes);
+ void select(int index, bool relative, FunctionRef<void (Key)> record_key);
void update(bool allow_implicit);
void try_accept();
void reset();