summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-04-01 10:08:54 +1100
committerMaxime Coste <mawww@kakoune.org>2018-04-01 10:08:54 +1100
commitea664651448a7f2f5f2fb3dc15c804c0ba7f95f0 (patch)
treea688f076984485286bbc7bd56506f8037bb8737d /src/client.hh
parent0baf562c93670d90369ef99828bccc94a9d92520 (diff)
Restore previous status line after notifying wait for shell
Fixes prompt getting erased by the wait for shell message, and having to manually trigger a redraw to see it again.
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh
index 3d90a247..dadc0320 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -48,6 +48,7 @@ public:
void info_hide(bool even_modal = false);
void print_status(DisplayLine status_line);
+ const DisplayLine& current_status() { return m_status_line; }
DisplayCoord dimensions() const;