formulahendry / formulahendry/vscode-code-runner

Previous output not being cleared.

Open
#506 1 comment 1 reaction 0 assignees View on GitHub
upstream
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.36.1
- OS Version: 10.0.18362
- Code Runner Version: 0.9.11

**Describe the bug**
Previous output not being cleared in terminal despite having relevant settings enabled.
`"code-runner.clearPreviousOutput": true`
`"code-runner.runInTerminal": true`

If I disable run in terminal, then the output tab is being cleared properly. The terminal however is not being cleared at all. Used the extension before with the same configuration and it worked flawlessly. Not sure what's wrong this time around.

**To Reproduce**
Steps to reproduce the behavior:

1. Open file in preferred language.
2. Run code using code runner.

**Actual behavior**
Terminal output keeps scrolling down and adding on to previous output.

**Expected behavior**
Only one output visible when run.

**Screenshots**
![example](https://user-images.githubusercontent.com/52775591/61739619-cc6f0300-ad5a-11e9-8586-89e6281e83fd.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.