"Terminal: Clear" not working as desired
See original GitHub issueSteps to Reproduce:
- Run a python file using command palette >Python: Run file in terminal window
- Terminal shows the output. Now, clear the terminal using command palette >Terminal: Clear
- Terminal gets clear now. Run the file again in the terminal >Python: Run file in terminal window
- Here is where issue shows up - the terminal still shows all the previous outputs from before the last clear command. IMO, desired should be that terminal should not show any previously cleared outputs.
- Attached below is a gif of the screen reproducing & visualizing this issue
Does this issue occur when all extensions are disabled?: Yes, the issue reoccurs. (Note: All except the “Python” extension were disabled. Python extension is needed to run the python file in terminal.
I had also posted in Super User forum thinking this was some issue with my system. And then I tried it on a clean build of VS code and it got repeated. Hence, I decided to post it as a bug.
Link to Super User forum question
VS Code version: Code - Insiders 1.36.0-insider (c089daa858f34631f5f827ff8a0313bf1e2ded6d, 2019-06-07T05:19:15.188Z) OS version: Windows_NT x64 10.0.18362
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-8700K CPU @ 3.70GHz (12 x 3696) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software oop_rasterization: disabled_off protected_video_decode: enabled rasterization: enabled skia_deferred_display_list: disabled_off skia_renderer: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.68GB (7.71GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Extensions (1)
Extension | Author (truncated) | Version |
---|---|---|
python | ms- | 2019.5.18875 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:40
- Comments:66 (14 by maintainers)
Top Results From Across the Web
VS Code "Terminal : Clear" command not working as desired
Once the file runs in the terminal, I press the Ctrl + K keybinding for "Terminal : Clear". This clears the terminal window....
Read more >How can I clear the terminal in Visual Studio Code?
To clear Terminal in VS Code simply press Ctrl + Shift + P key together this will open a command ...
Read more >Cannot clear integrated terminal window
It is impossible to clear the integrated terminal window. ... If we haven't resolved this issue for you, please report a new problem....
Read more >How to clear console in C language? - GeeksforGeeks
In real world problem , clear console method make system more readable and efficient to use.
Read more >Introduction - Clear Screen and More - MathBits.com
If you are using a clear screen command (system ("CLS");) in the middle of a program and it does not appear to be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
@mrkarthi I suggest we don’t bump this issue anymore, because it’s already marked as an upstream problem.
But anyway, feel free to add your thumbs up to this and the upstream issue to add priority to them.