tulir / gomuks

A Matrix client written in Go.
https://maunium.net/go/gomuks
GNU Affero General Public License v3.0
1.37k stars 123 forks source link

Pasting should create a single message with multiple lines #337

Closed Alzarath closed 2 years ago

Alzarath commented 2 years ago

Current behavior: Pasting immediately sends a message for each line of the pasted text. Sufficiently large pastes can become very troublesome.

tulir commented 2 years ago

The current behavior is creating a single message with multiple lines. If your terminal doesn't support bracketed paste, install xclip, xsel or wl-copy and use ctrl+v instead of ctrl+shift+v/shift+insert (ctrl+v bypasses the terminal and reads the clipboard directly)

Alzarath commented 2 years ago

Right, I forgot I switched to a terminal that has Ctrl+V functionality. I've been so used to using Ctrl+Shift+V. All this clipboard stuff is confusing. Thanks.