diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-10-29 11:25:58 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-10-29 11:25:58 +0100 |
| commit | a7cac87753d5da2f06545c69911f8b9f6941652f (patch) | |
| tree | b4f462b278e45b377b84960e2af4285cafcb27a3 /src/context.cc | |
| parent | 965cd8e0c32310dbcc267359b3e161148f10407e (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.cc | 4 |
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) |
