Home > Mobile >  How to clear python terminal in vs code
How to clear python terminal in vs code

Time:09-27

as I remember I used the command cls to clear the terminal, but it doesn't work any longer! I think the reason is of the update. btw when I use cls it just make the last line, first. and when I scroll up I can see the stuff. What should I do?

CodePudding user response:

Go to File -> Preferences -> Keyboard Shortcuts and find the mapping for Clear: workbench.action.terminal.clear then change it to Ctrl K (unless you want to use some other shortcut)

See this stackoverflow post for more information https://stackoverflow.com/a/48713754/13700906

CodePudding user response:

Type clear in treminal to clear it.
cls is a command for Windows Command Prompt

  • Related