xtermjs/xterm.js

Browser Copy/Paste support documentation

Open

#2478 aperta il 17 ott 2019

Vedi su GitHub
 (12 commenti) (0 reazioni) (0 assegnatari)TypeScript (1574 fork)batch import
help wantedtype/documentation

Metriche repository

Star
 (16.196 star)
Metriche merge PR
 (Merge medio 4g 3h) (81 PR mergiate in 30 g)

Descrizione

I'm using xterm.js in the browser and it seems copy/and paste functionality varies depending on the users browser and/or platform.

I can copy and paste using the standard Cmd + C and Cmd + V in Google Chrome and Firefox on Mac, but my Linux users are saying that Ctrl + C and Ctrl + V don't work for them in Google Chrome, but Ctrl + Shift + V does (But not Ctrl + Shift + C).

It would be good to get some documentation around what are the default keybindings and whether they are supported in all browsers – or some form of matrix to show which commands and browsers are supported so the information can be forwarded to users?

Guida contributor