mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 01:15:35 +00:00
ui/app,ui/key: move TextInputState from key to internal package
Clients have no need for the TextInputState type. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -30,20 +30,11 @@ type EditEvent struct {
|
||||
|
||||
type Modifiers uint32
|
||||
|
||||
type TextInputState uint8
|
||||
|
||||
const (
|
||||
ModCommand Modifiers = 1 << iota
|
||||
ModShift
|
||||
)
|
||||
|
||||
const (
|
||||
TextInputKeep TextInputState = iota
|
||||
TextInputFocus
|
||||
TextInputClose
|
||||
TextInputOpen
|
||||
)
|
||||
|
||||
const (
|
||||
NameLeftArrow = '←'
|
||||
NameRightArrow = '→'
|
||||
|
||||
Reference in New Issue
Block a user