aboutsummaryrefslogtreecommitdiff
path: root/go/ui/textInput_generic.go
blob: 7d1004ff205c03ffdb0e6fec37fc9236b7cdd36e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//go: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
}