summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-03-15 18:44:11 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-03-15 18:44:11 +0000
commit3921b234e785128e2c05e3f719352cbd263e6026 (patch)
tree41462fa5156d7ac8b6c080467480fc399734ca8b /src/insert_completer.hh
parentb5854ece4383687e41ea69ac6896acd0a894510d (diff)
Store fake keystrokes when selecting an insert completion candidate
Instead of storing the real 'select next completion' keystroke, generate fake backspace/delete/char keystrokes so that replay of the insert will insert the exact same text. Fixes #135
Diffstat (limited to 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index ffa2efdd..99fd1a58 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -60,7 +60,7 @@ public:
InsertCompleter& operator=(const InsertCompleter&) = delete;
~InsertCompleter();
- void select(int offset);
+ void select(int offset, Vector<Key>& keystrokes);
void update();
void reset();