If I do console.clear() it just skips a bunch of lines instead of clearing
I am using vsc c# and I think its an error with .net because I saw a few forums talking about it, pls help me fix it
35 Replies
thats a problem with the terminal
if you run
clear
it also does the same thinghuh hol on lemme try that
wait what do you mean clear
is it a problem with the newly updated windows terminals
no its a problem with the vscode terminal
how can I fix that? it works with other code
you dont
:(
I even made a whole new project
reinstalled vscode
and .net
yeah like i said its a problem with the terminal
clear
also doesnt really clearthen how come it work works with other code, its in the same project i just pasted in new code
wdym
like the project im working on has the error
what error
but i had an older project with console.clear() and I pasted the code of that in the error project and it worked
the skip line
its not really an error but still
oh
it worked in the vscode terminal?
how do you know that?
no I'm using external terminal
I pasted in the new code and deleted the old one (temporarily) and I ran it
wait you are?
yes
the problem happens in the external terminal too?
yes
whats the external terminal?
it just runs the code
in an external window
yeah but what is it
wdym
whats the terminal app called
cmd/powershell
idk whcih one it uses
lemme check
conhost?
those are shells
ot works for me in conhost
oh
which is the default one on windows
well its using this
dotnet.exe
no thats the cli
how do I check the terminal then
anyway i have no idea why this happens
thats what it says at the title
is there a way I can change it to conhost
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
YES
that fixed it
thanks