瀏覽代碼

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 {