diff --git a/exec/load/lightbar.js b/exec/load/lightbar.js index a8fe32a2a03c510669ebe0f711df1ecc8cf24b40..84be6b3c399bafe4a7f07abb08095fed410c6cfb 100644 --- a/exec/load/lightbar.js +++ b/exec/load/lightbar.js @@ -343,9 +343,10 @@ function Lightbar_getval(current) /* Get input */ /* * ToDo: K_GETSTR is to ensure that the users SPIN mode isn't used - * This is a hack. + * This is a hack which triples the time that an ESC takes to be + * procesed. */ - var key=console.getkey(K_UPPER|K_GETSTR); + var key=console.getkey(K_UPPER|(user.settings&USER_SPIN?K_GETSTR:0)); if(this.hotkeys.indexOf(key)!=-1) return(key); switch(key) {