Skip to content

Commit c464c95

Browse files
committed
Comment fix
1 parent af73b4c commit c464c95

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

keybd_darwin.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ const (
4242

4343
func initKeyBD() error { return nil }
4444

45-
//Press key(s)
45+
// Press key(s)
4646
func (k *KeyBonding) Press() error {
4747
for _, key := range k.keys {
4848
k.keyPress(key)
4949
}
5050
return nil
5151
}
5252

53-
//Release key(s)
53+
// Release key(s)
5454
func (k *KeyBonding) Release() error {
5555
for _, key := range k.keys {
5656
k.keyRelease(key)

keybd_linux.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func getFileUInput() (string, error) {
101101
return "", err
102102
}
103103

104-
//Release key(s)
104+
// Press key(s)
105105
func (k *KeyBonding) Press() error {
106106
var err error
107107
if k.hasALT {
@@ -158,6 +158,8 @@ func (k *KeyBonding) Press() error {
158158
}
159159
return nil
160160
}
161+
162+
// Release key(s)
161163
func (k *KeyBonding) Release() error {
162164
var err error
163165
if k.hasALT {

0 commit comments

Comments
 (0)