Skip to content

Commit

Permalink
fix: multiple prompts being filled out with Korean inputs
Browse files Browse the repository at this point in the history
refs: #1284
  • Loading branch information
Zachatoo committed Jan 6, 2024
1 parent b53e713 commit 9fc284e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/functions/internal_functions/system/PromptModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ export class PromptModal extends Modal {
}

private enterCallback(evt: KeyboardEvent) {
// Fix for Korean inputs https://github.com/SilentVoid13/Templater/issues/1284
if (evt.isComposing || evt.keyCode === 229) return;

if (this.multi_line) {
if (Platform.isDesktop) {
// eslint-disable-next-line no-empty
Expand Down

0 comments on commit 9fc284e

Please sign in to comment.