// handleInput is a custom message handler for the input channel.
handleInput is a custom message handler for the input channel.
// handleInput is a custom message handler for the input channel .
func (emu *EmulatorMock) handleInput(handler func(event InputEvent)) {
	for event := range emu.inputChannel {
		handler(event)
	}
}
func ( emu * EmulatorMock ) handleInput ( handler func ( event InputEvent ) ) { for event := range emu . inputChannel { handler ( event ) } }
handleInput is a custom message handler for the input channel.
handleInput is a custom message handler for the input channel .