aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c
index 971ef7f0a..1a507e3a4 100644
--- a/common/command.c
+++ b/common/command.c
@@ -194,6 +194,7 @@ static bool command_common(uint8_t code)
194 case KC_CAPSLOCK: 194 case KC_CAPSLOCK:
195 if (host_get_driver()) { 195 if (host_get_driver()) {
196 host_driver = host_get_driver(); 196 host_driver = host_get_driver();
197 clear_keyboard();
197 host_set_driver(0); 198 host_set_driver(0);
198 print("Locked.\n"); 199 print("Locked.\n");
199 } else { 200 } else {