mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-31 18:07:05 +02:00
update clipboard WS.
This commit is contained in:
parent
2c210f3cf1
commit
e93d167be6
6 changed files with 27 additions and 27 deletions
|
@ -98,8 +98,8 @@ func (ws *WebSocketManagerCtx) Start() {
|
|||
}
|
||||
|
||||
if err := session.Send(
|
||||
message.Clipboard{
|
||||
Event: event.CONTROL_CLIPBOARD,
|
||||
message.ClipboardData{
|
||||
Event: event.CLIPBOARD_UPDATED,
|
||||
Text: text,
|
||||
}); err != nil {
|
||||
ws.logger.Warn().Err(err).Msg("could not sync clipboard")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue