-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Right-click paste does not work. This regression was caused after #175, since we moved input handling to a textarea instead of xterm itself.
Proposals
This could be solved in the following two ways (additional ideas are always welcome though)
- Temporarily move the textarea element below the mouse cursor on right click (Add textarea back and support IMEs #175 (comment)). This would need non-native selection handling though (Add textarea back and support IMEs #175 (comment)).
- Temporarily give focus and enable contenteditable on the terminal element to allow pasting without messing with text selection issues.
Out of these two proposals IMO 1. is the best way to go (it will also fix other bugs like #116), but it will need definitely more work, while 2. is a quick hack that could do the job for now.
Details
- Browser and browser version: All browsers
- OS version: All OSes
- xterm.js version: >= 10fbf0d
Steps to reproduce
- Right click on the terminal
- Notice that there is no Paste option in the right click menu, while it should
serjN
Metadata
Metadata
Assignees
Labels
type/bugSomething is misbehavingSomething is misbehaving