diff --git a/users/t4corun/t4corun.c b/users/t4corun/t4corun.c index 4a594172..3eeed88f 100644 --- a/users/t4corun/t4corun.c +++ b/users/t4corun/t4corun.c @@ -49,8 +49,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { uint8_t current_mod = get_mods(); uint8_t current_osm = get_oneshot_mods(); - if ((current_mod | current_osm) & MOD_MASK_SHIFT ) { + if ((current_mod | current_osm) & MOD_MASK_SHIFT) { del_mods(MOD_MASK_SHIFT); + det_oneshot_mods(MOD_MASK_SHIFT); register_code(KC_DEL); delkey_registered = true; set_mods(current_mod);