summaryrefslogtreecommitdiff
path: root/src/context.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-10-29 11:25:58 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-10-29 11:25:58 +0100
commita7cac87753d5da2f06545c69911f8b9f6941652f (patch)
treeb4f462b278e45b377b84960e2af4285cafcb27a3 /src/context.cc
parent965cd8e0c32310dbcc267359b3e161148f10407e (diff)
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.
Diffstat (limited to 'src/context.cc')
-rw-r--r--src/context.cc4
1 files changed, 2 insertions, 2 deletions
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)