Skip to content

4.14.0 regression: key inputs get duplicated in screenReader mode #3467

@martinpitt

Description

@martinpitt

When enabling screenReaderMode: true, typing any character into the terminal gets duplicated. This happens in cockipt-podman, but reproduces in xterm's own builtin demo.

Details

  • Browser and browser version: Firefox 91, Chromium 90.0.4430.212
  • OS version: Fedora 34
  • xterm.js version: happens with yesterday's 4.14.0 version, any earlier version was fine.

Steps to reproduce

  1. Start the demo: npm run start, open http://127.0.0.1:3000/
  2. Type cat /etc/os-release into the terminal; this works
  3. Enable "screenReaderMode" in the options. Now typing "cat" ends up as "ccaatt". The terminal really receives two keystrokes, as the shell complains about "ccaatt: command not found".

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions