mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-22 05:27:05 +02:00
xclip multiple clipboard content types.
This commit is contained in:
parent
4602f5f6cf
commit
2d11b4fa56
6 changed files with 112 additions and 18 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue