[php-src] PR #14526: Enable erase_empty_line in ext/readline
| From: | petk | Date: | Sun, 09 Jun 2024 16:53:06 +0000 |
| Subject: | [php-src] PR #14526: Enable erase_empty_line in ext/readline | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26607@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14526
Author: petk
This wasn't activated due to inconsistent availability over the editline/readline versions and
variants. This now checks whether the rl_erase_empty_line variable is available in library headers
and enables it based on that. On Windows this is for now still disabled due to wineditline library,
which doesn't have this yet.
Documentation already mentions the erase_empty_line setting: https://www.php.net/manual/en/function.readline-info.php