Skip to content

Commit

Permalink
trying again after removing lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
hachimetsu committed Mar 12, 2024
1 parent 774fcc0 commit 4908f3e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/renderer/components/output.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ export const Output = observer(
openerService: this.openerService(),
},
);
/**
* TODO: Clear Console on CTRL + K.
*/
if(this.editor){
this.editor.addCommand(MonacoType.KeyMod.CtrlCmd | MonacoType.KeyCode.KEY_K, () => {
if(this.model) this.model.setValue("Console Cleared !");
});
if (this.editor) {
this.editor.addCommand(
MonacoType.KeyMod.CtrlCmd | MonacoType.KeyCode.KEY_K,
() => {
if (this.model) this.model.setValue('Console Cleared !');
},
);
}
}
}
Expand Down

0 comments on commit 4908f3e

Please sign in to comment.