From 5d2e8d845a86fc56b320c1aad461a8fecf61816a Mon Sep 17 00:00:00 2001 From: cpsdqs Date: Mon, 11 Sep 2017 11:05:31 +0200 Subject: [PATCH] Actually fix #142 --- jssrc/term_screen.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jssrc/term_screen.js b/jssrc/term_screen.js index e6dbb56..5e34bdb 100644 --- a/jssrc/term_screen.js +++ b/jssrc/term_screen.js @@ -849,6 +849,8 @@ window.TermScreen = class TermScreen { this.drawnScreenBG[cell] = bg this.drawnScreenAttrs[cell] = attrs + if (isCursor) this.drawnCursor = [x, y] + if (this.window.debug && this._debug) { // set cell flags let flags = 1 // always redrawn