Skip to content

Commit 0bb7835

Browse files
MposKeyboard: disable debug output
1 parent 8e66a2d commit 0bb7835

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal_filesystem/lib/mpos/ui/keyboard.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def _handle_events(self, event):
118118
if not button:
119119
return
120120
text = target_obj.get_button_text(button)
121-
print(f"[KBD] btn={button}, mode={self._current_mode}, text='{text}'")
121+
#print(f"[KBD] btn={button}, mode={self._current_mode}, text='{text}'")
122122

123123
# Ignore if no valid button text (can happen during mode switching)
124124
if text is None:
@@ -196,7 +196,7 @@ def get_textarea(self):
196196
return self._textarea
197197

198198
def set_mode(self, mode):
199-
print(f"[kbc] setting mode to {mode}")
199+
#print(f"[kbc] setting mode to {mode}")
200200
self._current_mode = mode
201201
key_map, ctrl_map = self.mode_info[mode]
202202
self._keyboard.set_map(mode, key_map, ctrl_map)
@@ -205,7 +205,7 @@ def set_mode(self, mode):
205205

206206
# Python magic method for automatic method forwarding
207207
def __getattr__(self, name):
208-
print(f"[kbd] __getattr__ {name}")
208+
#print(f"[kbd] __getattr__ {name}")
209209
"""
210210
Forward any undefined method/attribute to the underlying LVGL keyboard.
211211

0 commit comments

Comments
 (0)