Skip to content

feat: restore terminal after stopped program #80

Description

@kbuffardi

Problem

If a program is stopped using the STOP button, the terminal prompt is shown again, but the compile and compile and run buttons no longer work (unless the extension is reloaded)

Proposed solution

After a program is killed, any associated processes/memory/etc. is cleaned up. Then the terminal prompt should return with the ability to either use the buttons (compile, or Compile & Run) or run new commands by directly typing them in the prompt.

Alternatives considered

No response

Acceptance criteria

  • When a program is killed using Stop button, the prompt is shown and g++ main.cpp should work
  • When a program is killed using Stop button, the prompt is shown and Compile button should run a compiler with results shown in the terminal
  • When a program is killed using Stop button, the prompt is shown and Compile & Run button should run a compiler and launch the compiled program

Suggested priority

Medium

Additional context

No response

Before submitting

  • I searched existing issues and did not find an existing request for this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions