mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-31 14:22:27 +00:00
18 lines
488 B
Go
18 lines
488 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package input
|
|
|
|
// ReadEvents reads input events from the terminal.
|
|
//
|
|
// It reads the events available in the input buffer and returns them.
|
|
func (d *Reader) ReadEvents() ([]Event, error) {
|
|
return d.readEvents()
|
|
}
|
|
|
|
// parseWin32InputKeyEvent parses a Win32 input key events. This function is
|
|
// only available on Windows.
|
|
func (p *Parser) parseWin32InputKeyEvent(*win32InputState, uint16, uint16, rune, bool, uint32, uint16) Event {
|
|
return nil
|
|
}
|