aws / aws/amazon-ssm-agent

Windows Terminal (Command Prompt) - Linux key mappings not working

Open
#670 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

I log into an AL2023 EC2 instance via Web Browser, AWS Console.

Key combinations (shortcuts) like "Ctrl + <-" (Left Arrow) and "Ctrl + ->" (Right Arrow) work seamlessly.
So is Home and End buttons.

This is under bash shell. I switch to zsh, there too. All key combinations work.

I log into from Windows Terminal that runs cmd.exe (Command Prompt) with the following command syntax:

```sh
aws ssm start-session --target --region eu-west-1
```

Home and End works, but not "Ctrl + <-" (Left Arrow) and "Ctrl + ->" (Right Arrow) (bash).
As switch from bash to zsh nothing works.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Reproduce an AL2023 session with `aws ssm start-session --target --region eu-west-1` from Windows Terminal running cmd.exe, and compare Ctrl+Left/Right, Home, and End in bash and zsh with the browser session. Done means the reported key combinations behave consistently across the shells.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, bash, zsh
Domain
cli, cloud, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.