KeyMap is the key bindings for different actions within the textinput.
| 48 | |
| 49 | // KeyMap is the key bindings for different actions within the textinput. |
| 50 | type KeyMap struct { |
| 51 | CharacterForward key.Binding |
| 52 | CharacterBackward key.Binding |
| 53 | WordForward key.Binding |
| 54 | WordBackward key.Binding |
| 55 | DeleteWordBackward key.Binding |
| 56 | DeleteWordForward key.Binding |
| 57 | DeleteAfterCursor key.Binding |
| 58 | DeleteBeforeCursor key.Binding |
| 59 | DeleteCharacterBackward key.Binding |
| 60 | DeleteCharacterForward key.Binding |
| 61 | LineStart key.Binding |
| 62 | LineEnd key.Binding |
| 63 | Paste key.Binding |
| 64 | AcceptSuggestion key.Binding |
| 65 | NextSuggestion key.Binding |
| 66 | PrevSuggestion key.Binding |
| 67 | } |
| 68 | |
| 69 | // DefaultKeyMap is the default set of key bindings for navigating and acting |
| 70 | // upon the textinput. |
nothing calls this directly
no outgoing calls
no test coverage detected