Skip to content
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

Integrated terminal does not gets cleared when using bash #8940

Closed
owliveira opened this issue Jul 8, 2016 · 6 comments
Closed

Integrated terminal does not gets cleared when using bash #8940

owliveira opened this issue Jul 8, 2016 · 6 comments
Assignees
Labels
info-needed Issue requires more information from poster terminal General terminal issues that don't fall under another label upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues
Milestone

Comments

@owliveira
Copy link

  • VSCode Version: Code 1.3.0 (e724f26, 2016-07-07T16:56:12.476Z)
  • OS Version: Windows_NT ia32 6.1.7601

Steps to Reproduce:

1.Set bash as integrated terminal
2.Try to clear the terminal using 'clear' command

@Tyriar Tyriar added terminal General terminal issues that don't fall under another label windows VS Code on Windows issues labels Jul 11, 2016
@Tyriar
Copy link
Member

Tyriar commented Jul 11, 2016

What happens when clear is run? Command not found? Command accepted but nothing happens?

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Jul 11, 2016
@Tyriar Tyriar added this to the Backlog milestone Jul 11, 2016
@owliveira
Copy link
Author

@Tyriar The command is accepted and the cursor moves to the top of the terminal, but it doesn't gets cleared, and every character typed overdraws the next character that wasn't cleared. Did you understand?

@Tyriar
Copy link
Member

Tyriar commented Jul 12, 2016

@renanoliver are you seeing this? xtermjs/xterm.js#106

@owliveira
Copy link
Author

owliveira commented Jul 13, 2016

@Tyriar No... the clear command just moves the cursor to the top, but it doesn't clear the terminal.

I captured a screenshot to show
Example

@Tyriar Tyriar added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Jul 13, 2016
@Tyriar
Copy link
Member

Tyriar commented Jul 13, 2016

Marking this as upstream as I'm guessing it's either Ubuntu Bash or winpty's fault.

@owliveira
Copy link
Author

@Tyriar With the new update(v1.3.1) this issue seems to be resolved. So, I'm closing this.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster terminal General terminal issues that don't fall under another label upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

2 participants