-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Paste ignored with text/plain target on X11 #2811
Copy link
Copy link
Open
Description
Following on from #2595, pasting no longer hangs but instead is completely ignored if a target is defined - even when that target is plain text - resulting in no data being pasted. That's fine if the content is an image for example, but less convenient for text.
Affected Version
Alacritty 0.3.3 (a3f56a5 or newer) on Linux with i3/X11
Replicating
- Copy with
echo "primary" | xclip -selection primary -t text/plain - Use middle mouse to paste in Alacritty
- Copy with
echo "clipboard" | xclip -selection clipboard -t text/plain - Use
ctrl+shift+vto paste in Alacritty
Note that using xclip -o to paste directly will always work, with or without -target passed. This seems to be what Alacritty did via std::process::Command before the switch to x11-clipboard.
Relevant Config
mouse_bindings:
- { mouse: Middle, action: PasteSelection }
key_bindings:
- { key: Paste, action: Paste }Reactions are currently unavailable