aws / aws/amazon-q-developer-cli

Amazon Q terminal integration does not work without UI integration

Open
#938 0 comments 0 reactions 0 assignees View on GitHub
os:linux
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

Linux 6.8.0-52-generic - Ubuntu 22.04.5 LTS

### Expected behaviour

Amazon Q should work just like [zsh-autocomplete](https://github.com/marlonrichert/zsh-autocomplete) and provide completion options no matter which terminal emulator is being used. It should also be able to operator with no GUI integrations.

### Actual behaviour

Q only provides completions when using Gnome terminal, nothing when using xterm

### Steps to reproduce

- Install Amazon Q on ubuntu 22.04
- Start xterm
- No completions

### Environment

```yaml
[q-details]
version = "1.7.0"
hash = "8885a6708f2f07d02d29460a96f9c422da095e49"
date = "2025-03-06T01:07:14.925938Z (20d ago)"
variant = "full"

[system-info]
chip = "Intel(R) Core(TM) Ultra 7 165U"
total-cores = 12
memory = "30.78 GB"

[system-info.os.linux]
kernel_version = "6.8.0-52-generic"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 22.04.5 LTS"
version_id = "22.04"
version = "22.04.5 LTS (Jammy Jellyfish)"

[environment]
cwd = "/home/ANT.AMAZON.COM/USER"
cli-path = "/home/ANT.AMAZON.COM/USER"
os = "Linux"
shell-path = "/usr/bin/zsh"
shell-version = "5.8"
install-method = "unknown"

[env-vars]
DISPLAY = ":0"
PATH = "/home/ANT.AMAZON.COM/USER/.local/share/rtx/installs/python/3.8.18/bin:/home/ANT.AMAZON.COM/USER/.local/share/rtx/installs/node/lts/bin:/home/ANT.AMAZON.COM/USER/.local/share/rtx/installs/go/1.22.3/go/bin:/home/ANT.AMAZON.COM/USER/.local/share/rtx/installs/go/1.22.3/packages/bin::/home/ANT.AMAZON.COM/USER/.config/zplug/bin:/home/ANT.AMAZON.COM/USER/.zplug/bin:/home/ANT.AMAZON.COM/USER/.local/share/rtx/shims:/apollo/env/SDETools/bin:/home/ANT.AMAZON.COM/USER/bin:/home/ANT.AMAZON.COM/USER/tools/llvm/bin:/home/ANT.AMAZON.COM/USER/.toolbox/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/emacs29/bin:/home/ANT.AMAZON.COM/USER/.local/bin:/opt/emacs29/libexec/emacs/29.1/x86_64-pc-linux-gnu"
QT_IM_MODULE = "ibus"
Q_SET_PARENT_CHECK = "1"
Q_USING_ZSH_AUTOSUGGESTIONS = "1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
XDG_CURRENT_DESKTOP = "ubuntu:GNOME"
XDG_SESSION_DESKTOP = "ubuntu-wayland"
XDG_SESSION_TYPE = "wayland"
XMODIFIERS = "@im=ibus"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.