We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cad54d commit 07bbf69Copy full SHA for 07bbf69
src/components/CodeEditor.vue
@@ -391,6 +391,12 @@ export default {
391
392
if (ev.key === 'Escape' || ev.key === 'Pause') {
393
this.popUp(true, 'Resume');
394
+ clearInterval(this.liveWpmInterval);
395
+ this.liveWpmInterval = null;
396
+ if (this.stats.firstCharTime) {
397
+ this.pauseStart = Date.now();
398
+ }
399
+ this.$emit('pause', true);
400
} else if (ev.key === 'Enter') {
401
handleEnter();
402
} else if (ev.key === 'Backspace') {
0 commit comments