[Console] Option to disable stty
This commit is contained in:
parent
51bc35cc84
commit
a189a6c52e
@ -116,6 +116,14 @@ class QuestionHelper extends Helper
|
|||||||
return 'question';
|
return 'question';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevents usage of stty.
|
||||||
|
*/
|
||||||
|
public static function disableStty()
|
||||||
|
{
|
||||||
|
self::$stty = false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Asks the question to the user.
|
* Asks the question to the user.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user