From ee80fa8ea999ff88a0ac473d56eaa63dcbbc6d4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Wojciech=20K=C4=99pka?= <wojtek.kepka@protonmail.com>
Date: Mon, 21 Jun 2021 10:14:50 +0200
Subject: [PATCH] Cleanup spinners and messages on progress end

---
 helix-term/src/application.rs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index ea29f6f1..f06ccff2 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -328,6 +328,9 @@ impl Application {
                                         editor_view.spinners_mut().get_or_create(server_id).stop();
                                     }
                                     self.editor.clear_status();
+
+                                    // we want to render to clear any leftover spinners or messages
+                                    self.render();
                                     return;
                                 }
                             }