[Console] Silence warnings on sapi_windows_cp_set() call
This commit is contained in:
parent
68866fbc9e
commit
2a57ba5267
@ -160,7 +160,7 @@ class QuestionHelper extends Helper
|
|||||||
|
|
||||||
if (\function_exists('sapi_windows_cp_set')) {
|
if (\function_exists('sapi_windows_cp_set')) {
|
||||||
// Codepage used by cmd.exe on Windows to allow special characters (éàüñ).
|
// Codepage used by cmd.exe on Windows to allow special characters (éàüñ).
|
||||||
sapi_windows_cp_set(1252);
|
@sapi_windows_cp_set(1252);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null === $autocomplete || !self::$stty || !Terminal::hasSttyAvailable()) {
|
if (null === $autocomplete || !self::$stty || !Terminal::hasSttyAvailable()) {
|
||||||
|
Reference in New Issue
Block a user