diff --git a/src/input_handler.cc b/src/input_handler.cc index 2613215f..2ade252b 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -660,7 +660,7 @@ public: } m_completions.end = cursor_pos; m_completions.begin = buffer.advance(m_completions.end, -candidate.length()); - m_completions.timestamp = m_context.buffer().timestamp(); + m_completions.timestamp = buffer.timestamp(); if (m_context.has_ui()) m_context.ui().menu_select(m_current_candidate);