driver_other.go 488 B

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