From 5c792f6bc1fa8a5d26b43fb8200191c073637e15 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 8 Aug 2017 21:44:22 -0500 Subject: [PATCH] ANSI: fix E_NOTICE when overflowing text overflows screen vertical --- phpseclib/File/ANSI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; }