diff options
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r-- | helix-view/src/editor.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index df71e2d6..bd53c53b 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -66,6 +66,10 @@ impl Editor { } } + pub fn clear_status(&mut self) { + self.status_msg = None; + } + pub fn set_status(&mut self, status: String) { self.status_msg = Some((status, Severity::Info)); } |