Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How do I capture CTRL+C event? #278

Open
@temuri416

Description

You can exit the menu by pressing CTRL+C. But in that case the following code does not get called:

protected function tearDownTerminal() : void
{
 ...
 $this->terminal->enableCursor();
}

And as a result, there's no cursor in the shell.

How can I enable cursor if user presses CTRL+C?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /