mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
paste control with clipboard.
This commit is contained in:
parent
0aae212c1f
commit
968082d7b4
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user