Don't print 'KB OFF' on every render. Prevents glitches in non-KB mode
This commit is contained in:
parent
8fe026ee4e
commit
73604f1044
|
@ -422,6 +422,7 @@ func keyEvent() {
|
|||
|
||||
if (curev.Key == termbox.KeyCtrlM) && altPressed() {
|
||||
keyboardMode = !keyboardMode
|
||||
printXY(0, hipHeight, " ", true)
|
||||
}
|
||||
|
||||
if keyboardMode {
|
||||
|
@ -432,8 +433,6 @@ func keyEvent() {
|
|||
return
|
||||
}
|
||||
|
||||
printXY(0, hipHeight, "KB OFF", true)
|
||||
|
||||
xdotool(command, key)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue