(keyChar)
| 94 | |
| 95 | // This tests whether keyChar is a digit (and accounts for pass keys). |
| 96 | isCountKey(keyChar) { |
| 97 | return keyChar && |
| 98 | ((this.countPrefix > 0 ? "0" : "1") <= keyChar && keyChar <= "9") && |
| 99 | !this.isPassKey(keyChar); |
| 100 | } |
| 101 | |
| 102 | // Keystrokes are *never* considered pass keys if the user has begun entering a command. So, for |
| 103 | // example, if 't' is a passKey, then the "t"-s of 'gt' and '99t' are neverthless handled as |
no test coverage detected