diff --git a/phpseclib/File/ANSI.php b/phpseclib/File/ANSI.php index eb6b8383..0cbed173 100644 --- a/phpseclib/File/ANSI.php +++ b/phpseclib/File/ANSI.php @@ -446,7 +446,7 @@ class File_ANSI if ($this->x > $this->max_x) { $this->x = 0; - $this->y++; + $this->_newLine(); } else { $this->x++; }