Skip to content

Commit

Permalink
fix: use lf instead of crlf line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Oct 16, 2024
1 parent 85d716d commit bde5d1b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions driver_other.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
//go:build !windows
// +build !windows

package tea

// ReadEvents reads input events from the terminal.
//
// It reads the events available in the input buffer and returns them.
func (d *driver) ReadEvents() ([]Msg, error) {
return d.readEvents()
}

// parseWin32InputKeyEvent parses a Win32 input key events. This function is
// only available on Windows.
func parseWin32InputKeyEvent(*win32InputState, uint16, uint16, rune, bool, uint32, uint16) Msg {
return nil
}
//go:build !windows
// +build !windows

package tea

// ReadEvents reads input events from the terminal.
//
// It reads the events available in the input buffer and returns them.
func (d *driver) ReadEvents() ([]Msg, error) {
return d.readEvents()
}

// parseWin32InputKeyEvent parses a Win32 input key events. This function is
// only available on Windows.
func parseWin32InputKeyEvent(*win32InputState, uint16, uint16, rune, bool, uint32, uint16) Msg {
return nil
}

0 comments on commit bde5d1b

Please sign in to comment.