From 724e61ffdcdceca447cd8447dac45a49cc95f8e5 Mon Sep 17 00:00:00 2001 From: Lynesth Date: Wed, 2 May 2018 11:58:12 +1100 Subject: [PATCH] Force enableCursor in tearDownTerminal This fixes the cursor not coming back when closing the menu on some terminals (mine at least :)) --- src/CliMenu.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CliMenu.php b/src/CliMenu.php index 683161aa..dccb484a 100644 --- a/src/CliMenu.php +++ b/src/CliMenu.php @@ -119,6 +119,7 @@ protected function configureTerminal() : void */ protected function tearDownTerminal() : void { + $this->terminal->enableCursor(); $this->terminal->restoreOriginalConfiguration(); }