diff options
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index b54b790f..658b0d56 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -549,7 +549,7 @@ private: { if (not m_position.is_valid()) { - BufferIterator cursor = m_context.editor().selections().back().last(); + BufferIterator cursor = m_context.editor().main_selection().last(); auto completions = complete_opt(cursor, m_context.options()); if (completions.first.empty()) completions = complete_word(cursor); |
