Skip to content

Commit

Permalink
fix(TermuxX11ExtraKeys.java): unset special buttons after macro invoc…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
twaik committed Nov 27, 2024
1 parent dc939a2 commit a0543e1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ else if (SpecialButton.FN.getKey().equals(key))
onLorieExtraKeyButtonClick(view, key, ctrlDown, altDown, shiftDown, metaDown, fnDown);
}

if (ctrlDown || altDown || shiftDown || metaDown || fnDown)
if (ctrlDown || altDown || shiftDown || metaDown || fnDown) {
onLorieExtraKeyButtonClick(view, null, false, false, false, false, false);
unsetSpecialKeys();
}
} else {
onLorieExtraKeyButtonClick(view, buttonInfo.key, false, false, false, false, false);
}
Expand Down

0 comments on commit a0543e1

Please sign in to comment.