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

Appearance settings

Commit a189a6c

Browse filesBrowse files
johmuefabpot
authored andcommitted
[Console] Option to disable stty
1 parent 51bc35c commit a189a6c
Copy full SHA for a189a6c

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎src/Symfony/Component/Console/Helper/QuestionHelper.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Helper/QuestionHelper.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,14 @@ public function getName()
116116
return 'question';
117117
}
118118

119+
/**
120+
* Prevents usage of stty.
121+
*/
122+
public static function disableStty()
123+
{
124+
self::$stty = false;
125+
}
126+
119127
/**
120128
* Asks the question to the user.
121129
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.