mathworks / mathworks/MATLAB-extension-for-vscode

Ctrl+C in terminal should clear the current line

Open
#278 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.