Parcourir la source

Position to after menu panel.

Cursor was being reset by WOPR shutdown.
Steve Thielemann il y a 2 ans
Parent
commit
2572e4713c
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      testdoor/testdoor.go

+ 2 - 0
testdoor/testdoor.go

@@ -746,6 +746,8 @@ func main() {
 		// Clear WOPR panels.
 		d.Write(door.Reset + wopr.Clear())
 
+		r, b := mainmenu.Panel.RightBottomPos()
+		d.Write(door.Goto(r, b))
 		// fmt.Printf("Choice: %d, Option: %c\n", choice, option)
 
 		switch option {