From 020ead03acf454479031a9b3f24e6f046073c821 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 6 Apr 2020 19:31:12 +0000
Subject: [PATCH] Fix mouse enablement.

---
 exec/load/lightbar.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/lightbar.js b/exec/load/lightbar.js
index e27ad7741c..953fa8f1c0 100644
--- a/exec/load/lightbar.js
+++ b/exec/load/lightbar.js
@@ -165,8 +165,8 @@ Lightbar.prototype.getval = function(current,key)
 		if(key==undefined || key=='' || key==null || ansi.length > 0) {
 			if(this.callback != undefined)
 				this.callback();
+			console.write("\x1b[?1006h");
 			console.write("\x1b[?1000h");
-			console.write("\x1b[?1003h");
 			if(this.timeout>1)
 				key=console.inkey(0,this.timeout);
 			else
-- 
GitLab