| 1 |
//go:build !windows |
| 2 |
// +build !windows |
| 3 |
|
| 4 |
package input |
| 5 |
|
| 6 |
// ReadEvents reads input events from the terminal. |
| 7 |
// |
| 8 |
// It reads the events available in the input buffer and returns them. |
| 9 |
func (d *Reader) ReadEvents() ([]Event, error) { |
| 10 |
return d.readEvents() |
| 11 |
} |
| 12 |
|
| 13 |
// parseWin32InputKeyEvent parses a Win32 input key events. This function is |
| 14 |
// only available on Windows. |
| 15 |
func (p *Parser) parseWin32InputKeyEvent(*win32InputState, uint16, uint16, rune, bool, uint32, uint16) Event { |
| 16 |
return nil |
| 17 |
} |