Преглед изворни кода

Position to after menu panel.

Cursor was being reset by WOPR shutdown.
Steve Thielemann пре 2 година
родитељ
комит
2572e4713c
1 измењених фајлова са 2 додато и 0 уклоњено
  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 {