aws / aws/amazon-q-developer-cli
Please just use *GNU* readline
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
macOS 15.7.2 (24G325)
### Expected behaviour
1. I can turn off bracketed paste
2. A _single_ Ctrl+D exits the application
3. I can modify other readline behavior to suit my needs
4. I am able to use the cursor-right key to edit my query
### Actual behaviour
The readline library you are using is awful.
1. I cannot disable bracketed-paste,
2. I typically mean quit when I type Ctrl+D,
3. has no means to modify its behavior to suit my needs, and
4. now, most recently, broke the cursor-right in Terminal mode.
Please just use GNU readline instead of what you are using.
### Steps to reproduce
_No response_
### Environment
```yaml
[q-details]
version = "1.19.5"
hash = "ee3a71672300b9ca756a3f31da6ab48a4a1bbf4f"
date = "2025-11-12T18:03:28.66722Z (1d ago)"
variant = "full"
[system-info]
os = "macOS 15.7.2 (24G325)"
chip = "Apple M4 Pro"
total-cores = 14
memory = "48.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/opt/homebrew/Cellar/bash/5.3.3/bin/bash"
shell-version = "5.3.3"
terminal = "macOS"
install-method = "unknown"
[env-vars]
DISPLAY = "/private/tmp/com.apple.launchd.E6Zk2OaXRJ/org.xquartz:0"
PATH = "/Users/USER/.local/share/mise/installs/python/3.14.0/bin:/Users/USER/bin:/opt/homebrew/bin:/opt/spark/bin:/opt/homebrew/Cellar/scala@2.12/2.12.20/bin:/opt/homebrew/sbin:/Users/USER/.local/bin:/Users/USER/.toolbox/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts"
QTERM_SESSION_ID = "e73e909cdb2449b995828b2c8306c8b0"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.19.5"
SHELL = "/opt/homebrew/bin/bash"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```
Contributor guide
Assessment
This issue has not been assessed yet.