The freeze bug reared its ugly head again.

This commit is contained in:
Storm Dragon
2026-05-12 18:18:37 -04:00
parent 96c5184450
commit fa63ecadbe
4 changed files with 117 additions and 1 deletions
@@ -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
+1 -1
View File
@@ -5,4 +5,4 @@
# By Chrys, Storm Dragon, and contributors.
version = "2026.05.12"
code_name = "testing"
code_name = "master"