Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Added HideCursor function to surface test mock
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklanng authored and Marcus Olsson committed Sep 8, 2017
1 parent 045fe7a commit 261f019
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions painter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ func (s *testSurface) SetCursor(x, y int) {
s.cursor = image.Point{x, y}
}

func (s *testSurface) HideCursor() {
s.cursor = image.Point{}
}

func (s *testSurface) Begin() {
s.cells = make(map[image.Point]testCell)
}
Expand Down

0 comments on commit 261f019

Please sign in to comment.