aboutsummaryrefslogtreecommitdiff
path: root/go/ui/textInput_generic.go
blob: 7102eb823e1005cc5210735275ba3269d0fe2514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//go:build !wasm
// +build !wasm

package ui

func (ti *TextInput) Focus(focus bool) {
	ti.focused = focus
}

func (*TextInput) IsUpdatable() bool { return true }
func (ti *TextInput) Update() error {
	if ti.focused {
	}

	return nil
}