-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use lf instead of crlf line endings
- Loading branch information
1 parent
85d716d
commit bde5d1b
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |