Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
oldkingOK committed Dec 10, 2024
1 parent 3a3e72a commit dd6f1ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/latex_suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ let lastKeyboardEvent: KeyboardEvent | null = null;
let useNextTextInput = false;

export const onInput = (view: EditorView, from: number, to: number, text: string) => {
if (text === "\0\0") {
return true;
}
if (text === "\0\0") return true;
if (text.length == 1 && useNextTextInput) {
if (text === "\t") text = "Tab";
const success = handleKeydown(
Expand Down

0 comments on commit dd6f1ae

Please sign in to comment.