Merge pull request #58020 from bruvzg/mac_beeps

[macOS] Fix macOS producing alert sound on some input actions.
This commit is contained in:
Rémi Verschelde 2022-02-12 23:15:29 +01:00 committed by GitHub
commit 4368d6d80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -117,6 +117,10 @@
}
}
- (void)doCommandBySelector:(SEL)aSelector {
[self tryToPerform:aSelector with:self];
}
- (void)unmarkText {
ime_input_event_in_progress = false;
[[marked_text mutableString] setString:@""];