apommel / vscode-matlab-interactive-terminal

VS Code extension allowing for an interactive Matlab terminal and launching of scripts through Matlab Engine for Python
MIT License
46 stars 9 forks source link

Is it possible to block "Ctrl + C"? #30

Open Fisher-Wang opened 3 years ago

Fisher-Wang commented 3 years ago

When I made a typo in the terminal, I wanted to press Ctrl + C to cancel the command, but it exit to the cmd interface. Is it possible to change the behavior when receiving the interrupt signal? ;)

yunus-sun commented 3 years ago

When I made a typo in the terminal, I wanted to press Ctrl + C to cancel the command, but it exit to the cmd interface. Is it possible to change the behavior when receiving the interrupt signal? ;)

It can just press Ctrl + C to cancel the current executing command. But it will return to the cmd interface when no commands are currently being executed.