From b087c428ba492715626a7875185f9ba18fb30b3e Mon Sep 17 00:00:00 2001 From: liam4 Date: Mon, 3 Jul 2017 21:13:50 -0300 Subject: Improve cursor display - Whether the cursor is displayed or not is now based on the cursorVisible property rather than whether cursorX and cursorY are set or not. - The actual shell cursor is now invisible... this is objectively an act of Evil, though! This doesn't look like too hard to fix, thankfully. - A new cleanCursor function has been added to ansi.js. --- ui/form/FocusElement.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/form/FocusElement.js') diff --git a/ui/form/FocusElement.js b/ui/form/FocusElement.js index 5967e26..18f13bf 100644 --- a/ui/form/FocusElement.js +++ b/ui/form/FocusElement.js @@ -6,6 +6,7 @@ module.exports = class FocusElement extends DisplayElement { constructor() { super() + this.cursorVisible = false this.cursorX = 0 this.cursorY = 0 -- cgit 1.3.0-6-gf8a5