Skip to content

Copy and paste do not work on touch devices #3727

@williamstein

Description

@williamstein

Details

  • Browser and browser version: Safari on an iPad
  • OS version: all versions of iPadOS (and iPhoneOS too)
  • xterm.js version: all versions

Steps to reproduce

  1. Go to the demo at https://xtermjs.org
  2. The terminal works. However, it is not possible to select text at all by touching the screen, so copy (and paste) are impossible.
  3. Using a keyboard and trackpad on the iPad, you can select text, but when you copy with (cmd+c), it does NOT copy, leaving the clipboard unchanged. Paste does work with a keyboard.
  4. I also tried both the canvas and dom, and the webgl addon. I couldn't select text with any of those.

I use xtermjs, in https://cocalc.com for desktop, but for mobile I've been using an ancient version of term.js... almost entirely because copy paste actually always fully worked with term.js on ipad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions