Small fix for leaving leader

This commit is contained in:
Kyle Brown 2018-10-15 00:16:34 -07:00
parent 84fb105eeb
commit d295dc52e6
No known key found for this signature in database
GPG Key ID: A0A8A4F761659BB8

View File

@ -41,7 +41,7 @@ class LeaderHelper:
# Process the action and remove the extra KC.ENT that was added to get here
state = process(state)
return clean_exit(state)
elif key == Keycodes.Common.KC_ESC:
elif key == Keycodes.Common.KC_ESC or key == Keycodes.KMK.KC_GESC:
# Clean state and turn leader mode off.
return clean_exit(state)
elif key == Keycodes.KMK.KC_LEAD: