mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-21 10:00:59 -07:00
style: add comment
This commit is contained in:
parent
91ee46933a
commit
efe7b6dd26
@ -20,6 +20,7 @@ func NewKeyData(chStr string) keyData {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if len(chStr) > 1 && chStr[0] == 'F' {
|
if len(chStr) > 1 && chStr[0] == 'F' {
|
||||||
|
// function key, can be F1 to F64
|
||||||
name = chStr
|
name = chStr
|
||||||
fNum, err := strconv.Atoi(chStr[1:])
|
fNum, err := strconv.Atoi(chStr[1:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user