From f5e852cc73a8416458206b3c4757f0a1bf6edbae Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 15 Jun 2018 12:02:08 +0000 Subject: [PATCH] console : domci updates git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4251 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- console.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/console.php b/console.php index 3b1db99..95a289e 100644 --- a/console.php +++ b/console.php @@ -24,7 +24,6 @@ class console { // PROPERTIES // {{{ -private $usleep = 0; /** Save the initial stty value */ private $initSttyState; @@ -43,8 +42,9 @@ private $usleep = 0; private $nonWriteableChar = array (1, 2, 3, 4, 6, 8, 9, 16, 18, 20, 21, 22, 23, 24, 25, 27, 127); - /* The history list in an array - */ + + /** The history list in an array + */ private $history = array (); /** The history max size in entries @@ -247,8 +247,8 @@ private $usleep = 0; * Stop when the user valid by \n. * Manage correctely the backspace, the Ctrl+W to remove word... * @param string $propo Preset the text for the user - * @param bool|string $stopperChar The chars to stop the analysis and return - * the result + * @param boolean|string $stopperChar The chars to stop the analysis and + * return the result * @return The typed string */ public function readline ($propo = "", $stopperChar = false) @@ -859,10 +859,10 @@ private $usleep = 0; if ($tmp !== $part) { break 2; - } - } + } + } $identicalString = $tmp; - $sameCharLength++; + $sameCharLength++; } return $identicalString; }