io/input,io/key: [API] replace SnippetOp with command

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-10-09 17:08:47 -05:00
parent 813d836641
commit eed93aaffe
5 changed files with 14 additions and 38 deletions
-3
View File
@@ -82,7 +82,6 @@ const (
TypeSemanticClass
TypeSemanticSelected
TypeSemanticEnabled
TypeSnippet
TypeActionInput
)
@@ -164,7 +163,6 @@ const (
TypeSemanticClassLen = 2
TypeSemanticSelectedLen = 2
TypeSemanticEnabledLen = 2
TypeSnippetLen = 1 + 4 + 4
TypeActionInputLen = 1 + 1
)
@@ -444,7 +442,6 @@ var opProps = [0x100]opProp{
TypeSemanticClass: {Size: TypeSemanticClassLen, NumRefs: 0},
TypeSemanticSelected: {Size: TypeSemanticSelectedLen, NumRefs: 0},
TypeSemanticEnabled: {Size: TypeSemanticEnabledLen, NumRefs: 0},
TypeSnippet: {Size: TypeSnippetLen, NumRefs: 2},
TypeActionInput: {Size: TypeActionInputLen, NumRefs: 0},
}