-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know how to resole the lint error i m getting #1559
base: main
Are you sure you want to change the base?
Conversation
can anyone help me with |
src/renderer/components/output.tsx
Outdated
this.editor.addCommand( | ||
MonacoType.KeyMod.CtrlCmd | MonacoType.KeyCode.KEY_K, | ||
() => { | ||
if (this.model) this.model.setValue('Console Cleared !'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think I'd want a message when clearing the console. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that mean i m doing right ?
or i m doing something else which is not actually required ?
what if i do if (this.model) this.model.setValue("");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and i did use this this.model.setValue('Console Cleared !');
because i use CTRL+L
orCTRL+SHIFT+L
it will move the cursor to the top of the terminal window and clear all the text that was previously displayed.
However, it doesn't erase the command history; you can still scroll up to see previous commands and output.
Co-authored-by: Divyansh Singh <divyanshanandsingh@gmail.com>
error was in contribution.json ?
lint error
previous pull
changes i did