The freeze bug reared its ugly head again.
This commit is contained in:
@@ -27,6 +27,11 @@ class command:
|
||||
== self.env["input"]["new_caps_lock"]
|
||||
):
|
||||
return
|
||||
current_input = self.env["input"]["curr_input"]
|
||||
previous_input = self.env["input"]["prev_input"]
|
||||
relevant_input = current_input or previous_input
|
||||
if "KEY_CAPSLOCK" not in relevant_input:
|
||||
return
|
||||
if self.env["input"]["new_caps_lock"]:
|
||||
self.env["runtime"]["OutputManager"].present_text(
|
||||
_("Capslock on"), interrupt=True
|
||||
|
||||
@@ -27,6 +27,11 @@ class command:
|
||||
== self.env["input"]["new_scroll_lock"]
|
||||
):
|
||||
return
|
||||
current_input = self.env["input"]["curr_input"]
|
||||
previous_input = self.env["input"]["prev_input"]
|
||||
relevant_input = current_input or previous_input
|
||||
if "KEY_SCROLLLOCK" not in relevant_input:
|
||||
return
|
||||
if self.env["input"]["new_scroll_lock"]:
|
||||
self.env["runtime"]["OutputManager"].present_text(
|
||||
_("Scrolllock on"), interrupt=True
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
# By Chrys, Storm Dragon, and contributors.
|
||||
|
||||
version = "2026.05.12"
|
||||
code_name = "testing"
|
||||
code_name = "master"
|
||||
|
||||
Reference in New Issue
Block a user