From a7cac87753d5da2f06545c69911f8b9f6941652f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 29 Oct 2016 11:25:58 +0100 Subject: Display a status line message when Kakoune is waiting on a shell to complete If a shell commands takes more than 1s to execute, a message will appear on the status line notifying the user, along with the time Kakoune has been waiting for. --- src/context.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/context.cc') diff --git a/src/context.cc b/src/context.cc index 5e16682d..dc8086fa 100644 --- a/src/context.cc +++ b/src/context.cc @@ -69,10 +69,10 @@ void Context::set_window(Window& window) m_window.reset(&window); } -void Context::print_status(DisplayLine status) const +void Context::print_status(DisplayLine status, bool immediate) const { if (has_client()) - client().print_status(std::move(status)); + client().print_status(std::move(status), immediate); } void JumpList::push(SelectionList jump) -- cgit v1.2.3