summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 5dd3fb14..b2c2e5af 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -3780,6 +3780,7 @@ class XMLTab(Tab):
curses.curs_set(0)
def on_close(self):
+ self.command_clear('')
self.core.xml_tab = False
def on_info_win_size_changed(self):