use types.Cursor.

This commit is contained in:
Miroslav Šedivý 2021-11-01 17:31:00 +01:00
parent 1025eedc22
commit 28c22a254b
4 changed files with 10 additions and 12 deletions

View file

@ -53,8 +53,8 @@ func (session *SessionCtx) IsHost() bool {
return session.manager.GetHost() == session
}
func (session *SessionCtx) SetCursor(x, y int) {
session.manager.SetCursor(x, y, session)
func (session *SessionCtx) SetCursor(cursor types.Cursor) {
session.manager.SetCursor(cursor, session)
}
// ---