[php-src] Issue #10142: The Interactive shell shortcut key <Ctrl + w> delete all line on Ubuntu bash

From: Date: Wed, 21 Dec 2022 05:54:12 +0000
Subject: [php-src] Issue #10142: The Interactive shell shortcut key <Ctrl + w> delete all line on Ubuntu bash
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243208@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10142
Author: klusfq

### Description

The following code:

```bash
php -a

# then press <Ctrl + w> after input some commands in one line that delimiter is whitespace
```

Resulted in this output:
**The entire line of command input is erased**


But I expected this output instead:
**Only cut back one word by keyboard <C-w>**


### PHP Version

PHP 8.1.13、PHP 8.2.0

### Operating System

Ubuntu 20.04.5 LTS


Thread (1 message)

  • klusfq
« previous php.bugs (#243208) next »