mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-19 01:28:43 +02:00
add control cut.
This commit is contained in:
parent
e8c7ab421a
commit
26ab7fa12d
3 changed files with 11 additions and 0 deletions
|
@ -92,6 +92,8 @@ func (h *MessageHandlerCtx) Message(session types.Session, data types.WebSocketM
|
|||
err = utils.Unmarshal(payload, data.Payload, func() error {
|
||||
return h.controlKeyUp(session, payload)
|
||||
})
|
||||
case event.CONTROL_CUT:
|
||||
err = h.controlCut(session)
|
||||
case event.CONTROL_COPY:
|
||||
err = h.controlCopy(session)
|
||||
case event.CONTROL_PASTE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue