(ms: number)
| 424 | // finished yet (maybe the remapping has a lot of keys to handle) so we wait for the |
| 425 | // remapping to finish |
| 426 | const wait = (ms: number) => new Promise((res) => setTimeout(res, ms)); |
| 427 | while (modeHandler.remapState.isCurrentlyPerformingRemapping) { |
| 428 | // Wait a little bit longer here because the currently performing remap might have |
| 429 | // some remaining keys to handle after it finishes performing the remap and there |