mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
paste control with clipboard.
This commit is contained in:
@@ -57,8 +57,8 @@ export class NekoControl extends EventEmitter<NekoControlEvents> {
|
||||
this._connection.websocket.send(EVENT.CONTROL_COPY)
|
||||
}
|
||||
|
||||
public paste() {
|
||||
this._connection.websocket.send(EVENT.CONTROL_PASTE)
|
||||
public paste(text?: string) {
|
||||
this._connection.websocket.send(EVENT.CONTROL_PASTE, { text } as message.ClipboardData)
|
||||
}
|
||||
|
||||
public selectAll() {
|
||||
|
||||
Reference in New Issue
Block a user