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:
parent
91ee46933a
commit
efe7b6dd26
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user