Debian Codegraph @

caps.go

raw symbols SCIP
1 package terminfo
2
3 // BoolCapName returns the bool capability name.
4 func BoolCapName(i int) string {
5 return boolCapNames[2*i]
6 }
7
8 // BoolCapNameShort returns the short bool capability name.
9 func BoolCapNameShort(i int) string {
10 return boolCapNames[2*i+1]
11 }
12
13 // NumCapName returns the num capability name.
14 func NumCapName(i int) string {
15 return numCapNames[2*i]
16 }
17
18 // NumCapNameShort returns the short num capability name.
19 func NumCapNameShort(i int) string {
20 return numCapNames[2*i+1]
21 }
22
23 // StringCapName returns the string capability name.
24 func StringCapName(i int) string {
25 return stringCapNames[2*i]
26 }
27
28 // StringCapNameShort returns the short string capability name.
29 func StringCapNameShort(i int) string {
30 return stringCapNames[2*i+1]
31 }