xclip multiple clipboard content types.

This commit is contained in:
Miroslav Šedivý 2021-01-28 22:51:55 +01:00
parent 4602f5f6cf
commit 2d11b4fa56
6 changed files with 112 additions and 18 deletions

View file

@ -117,7 +117,7 @@ func (ws *WebSocketManagerCtx) Start() {
return
}
text, err := ws.desktop.ReadClipboard()
text, err := ws.desktop.ClipboardGetPlainText()
if err != nil {
ws.logger.Warn().Err(err).Msg("could not get clipboard content")
}