TextMessage is a message that is dispatched whenever a character is typed on the keyboard. This is not the same as a keypress, as it returns the rune of the character typed by the user, which could be a combination of keypresses.
| 131 | // keyboard. This is not the same as a keypress, as it returns the rune of the |
| 132 | // character typed by the user, which could be a combination of keypresses. |
| 133 | type TextMessage struct { |
| 134 | Char rune |
| 135 | } |
| 136 | |
| 137 | // Type returns the type of the message, "TextMessage" |
| 138 | func (TextMessage) Type() string { return "TextMessage" } |
nothing calls this directly
no outgoing calls
no test coverage detected