diff options
author | Miodec <[email protected]> | 2024-12-22 00:57:58 +0100 |
---|---|---|
committer | Miodec <[email protected]> | 2024-12-22 00:58:22 +0100 |
commit | 7d53e9eba3ab63c85ce1b9665a0505fb2f18a229 (patch) | |
tree | 641f505e72ce85461beed0bc28929afc7f7cf498 | |
parent | 772e4a1d014c096e9723574bea347ec0581045e7 (diff) | |
download | monkeytype-7d53e9eba3ab63c85ce1b9665a0505fb2f18a229.tar.gz monkeytype-7d53e9eba3ab63c85ce1b9665a0505fb2f18a229.zip |
impr(typing): add ʻ to the list of interchangable 'quotelike' characters
this means it can be typed correctly with the usual '
-rw-r--r-- | frontend/src/ts/controllers/input-controller.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/ts/controllers/input-controller.ts b/frontend/src/ts/controllers/input-controller.ts index dcb263ca9..50a7c8bc4 100644 --- a/frontend/src/ts/controllers/input-controller.ts +++ b/frontend/src/ts/controllers/input-controller.ts @@ -425,12 +425,14 @@ function isCharCorrect(char: string, charIndex: number): boolean { char === "‘" || char === "'" || char === "ʼ" || - char === "׳") && + char === "׳" || + char === "ʻ") && (originalChar === "’" || originalChar === "‘" || originalChar === "'" || originalChar === "ʼ" || - originalChar === "׳") + originalChar === "׳" || + originalChar === "ʻ") ) { return true; } |