add sessions cursors.

This commit is contained in:
Miroslav Šedivý
2021-10-24 01:09:41 +02:00
parent 318b833b30
commit 0b5e064cab
7 changed files with 97 additions and 29 deletions

View File

@ -87,6 +87,12 @@ type SessionData struct {
State types.SessionState `json:"state"`
}
type SessionCursor struct {
ID string `json:"id"`
X uint16 `json:"x"`
Y uint16 `json:"y"`
}
/////////////////////////////
// Control
/////////////////////////////