From bde5d1b6fe8f32da942c41e790813da6ef9a85fa Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Tue, 15 Oct 2024 18:51:23 -0700 Subject: [PATCH] fix: use lf instead of crlf line endings --- driver_other.go | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/driver_other.go b/driver_other.go index 332336fdf8..c76c3e9581 100644 --- a/driver_other.go +++ b/driver_other.go @@ -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 +}