v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-20 17:40:25 -07:00

style: add comment

This commit is contained in:
eeeXun 2023-06-21 11:05:47 +08:00
parent 91ee46933a
commit efe7b6dd26

View File

@ -20,6 +20,7 @@ func NewKeyData(chStr string) keyData {
)
if len(chStr) > 1 && chStr[0] == 'F' {
// function key, can be F1 to F64
name = chStr
fNum, err := strconv.Atoi(chStr[1:])
if err != nil {