Skip to content

Missing working disableStty method? #36977

@vovayatsyuk

Description

@vovayatsyuk

Symfony version(s) affected: 3.4 and newer

Description
We have a disableStty method in QuestionHelper: https://github.com/symfony/console/blob/master/Helper/QuestionHelper.php#L93-L96
But, since 3.4 QuestionHelper doesn't check the state of this flag, it checks Terminal instead: https://github.com/symfony/console/blob/master/Helper/QuestionHelper.php#L112
Terminal doesn't provide a disableStty method: https://github.com/symfony/console/blob/master/Terminal.php

Possible Solution
Add disableStty to the Terminal class?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions