mirror of
https://github.com/sst/opencode.git
synced 2025-08-25 15:34:06 +00:00
17 lines
488 B
Go
17 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
|
|
}
|