diff --git a/src/input_handler.cc b/src/input_handler.cc index 953cdc23..257f51be 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -655,7 +655,6 @@ public: if (m_autoshowcompl) refresh_completions(CompletionFlags::Fast); m_line_editor.reset(std::move(initstr)); - display(); } void on_key(Key key) override @@ -868,6 +867,8 @@ private: context().print_status(display_line); } + void on_enabled() override { display(); } + PromptCallback m_callback; Completer m_completer; const String m_prompt;