Skip to content

Commit

Permalink
Don't print 'KB OFF' on every render. Prevents glitches in non-KB mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tombh committed Aug 2, 2016
1 parent 8fe026e commit 73604f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions interfacer/interfacer.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ func keyEvent() {

if (curev.Key == termbox.KeyCtrlM) && altPressed() {
keyboardMode = !keyboardMode
printXY(0, hipHeight, " ", true)
}

if keyboardMode {
Expand All @@ -432,8 +433,6 @@ func keyEvent() {
return
}

printXY(0, hipHeight, "KB OFF", true)

xdotool(command, key)
}

Expand Down

0 comments on commit 73604f1

Please sign in to comment.