Procházet zdrojové kódy

Use normal, not anyevent.

Steve Thielemann před 2 roky
rodič
revize
100daa42b2
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      testdoor/testdoor.go

+ 3 - 3
testdoor/testdoor.go

@@ -683,8 +683,8 @@ func main() {
 	// d.Write("\x1b[?9h") // enable mouse X10 support
 	// d.Write("\x1b[?1000h") // enable any-event mouse
 	// d.Write("\x1b[?1002h")
-    // d.Write("\x1b[?1006h") // SGR style mouse. -- not supported in term
-    d.EnableMouse(door.AnyEvent)
+	// d.Write("\x1b[?1006h") // SGR style mouse. -- not supported in term
+	d.EnableMouse(door.Normal) // AnyEvent)
 	// 1006 does not work in xterm or syncterm.
 	press_keys(&d)
 	// press_a_key(&d)
@@ -763,7 +763,7 @@ func main() {
 
 	// d.Write("\x1b[?1000l") // disable mouse
 	// d.Write("\x1b[?1002l")
-    d.DisableMouse()
+	d.DisableMouse()
 	d.Write(door.Reset + door.CRNL)
 
 	message = fmt.Sprintf("Returning to the %s BBS..."+door.CRNL, d.Config.BBSID)