debug
parent
44ec540db3
commit
3bb7cad554
|
|
@ -1,6 +1,12 @@
|
|||
package button
|
||||
|
||||
import "fmt"
|
||||
|
||||
type Button struct {
|
||||
Char byte
|
||||
Down bool
|
||||
}
|
||||
|
||||
func (button Button) String() string {
|
||||
return fmt.Sprintf("%c:%v", button.Char, button.Down)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue