Преглед на файлове

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 {