mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Don't expose ReadInput
This commit is contained in:
4
key.go
4
key.go
@@ -262,9 +262,9 @@ var hexes = map[string]Key{
|
||||
"1b5b313b3344": {Type: KeyLeft, Alt: true},
|
||||
}
|
||||
|
||||
// ReadInput reads keypress and mouse input from a TTY and returns a message
|
||||
// readInput reads keypress and mouse input from a TTY and returns a message
|
||||
// containing information about the key or mouse event accordingly
|
||||
func ReadInput(r io.Reader) (Msg, error) {
|
||||
func readInput(r io.Reader) (Msg, error) {
|
||||
var buf [256]byte
|
||||
|
||||
// Read and block
|
||||
|
||||
Reference in New Issue
Block a user