no clipboard content bug.
This commit is contained in:
parent
b9df65c216
commit
b420841f9d
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ func (ws *WebSocketManagerCtx) Start() {
|
||||||
data, err := ws.desktop.ClipboardGetText()
|
data, err := ws.desktop.ClipboardGetText()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ws.logger.Warn().Err(err).Msg("could not get clipboard content")
|
ws.logger.Warn().Err(err).Msg("could not get clipboard content")
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := session.Send(message.ClipboardData{
|
if err := session.Send(message.ClipboardData{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue