Skip to content

Commit b4d7586

Browse files
committed
Remove TAO_KEY debug logging
1 parent c1a1221 commit b4d7586

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

decorated-window-tao/src/main/kotlin/dev/nucleusframework/window/tao/render/TaoComposeSceneHostLinux.kt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,21 +1021,6 @@ internal class TaoComposeSceneHostLinux(
10211021
modifiers: Int,
10221022
codePoint: Int,
10231023
): Boolean {
1024-
// TEMPORARY DIAGNOSTIC — log every Tao key event reaching the scene host
1025-
// so we can correlate user-visible bugs (Tab triggering shortcut without
1026-
// Alt, Backspace not deleting in TextField) with the exact native event
1027-
// shape (vk code, modifier bitmask, codePoint) Tao forwards from libtao.
1028-
// Remove once the input routing is verified.
1029-
val typeName =
1030-
when (type) {
1031-
TaoEventCode.KEY_DOWN -> "KEY_DOWN"
1032-
TaoEventCode.KEY_UP -> "KEY_UP"
1033-
TaoEventCode.KEY_TYPED -> "KEY_TYPED"
1034-
else -> "OTHER($type)"
1035-
}
1036-
println(
1037-
"[TAO_KEY] $typeName vk=$vkCode loc=$keyLocation mods=0b${modifiers.toString(2).padStart(4, '0')} cp=$codePoint",
1038-
)
10391024
val sc = scene ?: return false
10401025
val isCtrl = (modifiers and TaoModifierMask.CONTROL) != 0
10411026
val isMeta = (modifiers and TaoModifierMask.META) != 0

0 commit comments

Comments
 (0)