mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
split remote to desktop and capture.
This commit is contained in:
11
server/internal/desktop/clipboard.go
Normal file
11
server/internal/desktop/clipboard.go
Normal file
@ -0,0 +1,11 @@
|
||||
package desktop
|
||||
|
||||
import "m1k1o/neko/internal/desktop/clipboard"
|
||||
|
||||
func (manager *DesktopManagerCtx) ReadClipboard() string {
|
||||
return clipboard.Read()
|
||||
}
|
||||
|
||||
func (manager *DesktopManagerCtx) WriteClipboard(data string) {
|
||||
clipboard.Write(data)
|
||||
}
|
Reference in New Issue
Block a user