From ad6d7b26c74ceb36e850f6664f9cd623734f0560 Mon Sep 17 00:00:00 2001
From: mcmlxxix <>
Date: Mon, 27 Apr 2020 01:34:57 +0000
Subject: [PATCH] home cursor on erase()

---
 exec/load/frame.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exec/load/frame.js b/exec/load/frame.js
index c5922e85a3..be071d058b 100644
--- a/exec/load/frame.js
+++ b/exec/load/frame.js
@@ -950,6 +950,7 @@ Frame.prototype.erase(ch, attr) {
 			this.__properties__.display.updateChar(this, x, y);
 		}
 	}
+	this.home();
 }
 Frame.prototype.clearline = function(attr) {
 	if(attr == undefined)
-- 
GitLab