mathworks / mathworks/MATLAB-extension-for-vscode
Ctrl+C in terminal should clear the current line
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
In the MATLAB application, if I type a command in the terminal
>> 1 + 1
and then type Ctrl + C (on Windows), then the command is cleared:
>>
In VS Code, however, the typing Ctrl + C does nothing to the command windows contents. As a result, I often just hit enter to run the command then Ctrl+C to stop it if it is a long-running call.
Related Issues
#249
#231
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Ctrl+C behavior in the VS Code MATLAB terminal described in the issue, then trace the extension's terminal input handling. Done means pressing Ctrl+C on Windows clears the current command line without requiring the command to run first; check related issues #249 and #231 for context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- cli, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100