-1

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?

2 Answers2

1

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:
How can I clear the terminal in Visual Studio Code?

martineau
  • 119,623
  • 25
  • 170
  • 301
stapmoshun
  • 88
  • 1
  • 7
0

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

wowonline
  • 1,061
  • 1
  • 10
  • 17