From 39834b3ec8f1804a7bf24cff7bf829f4fe63e826 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 27 Oct 2022 14:38:27 +0800 Subject: [PATCH] InputHandler // Show actual character text in debug console. (#203) --- Source/Modules/InputHandler_HandleInput.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/InputHandler_HandleInput.swift b/Source/Modules/InputHandler_HandleInput.swift index 18494529..48e34bb7 100644 --- a/Source/Modules/InputHandler_HandleInput.swift +++ b/Source/Modules/InputHandler_HandleInput.swift @@ -271,7 +271,7 @@ extension InputHandler { /// 砍掉這一段會導致「F1-F12 按鍵干擾組字區」的問題。 /// 暫時只能先恢復這段,且補上偵錯彙報機制,方便今後排查故障。 if state.hasComposition || !isComposerOrCalligrapherEmpty { - delegate.callError("Blocked data: charCode: \(input.charCode), keyCode: \(input.keyCode)") + delegate.callError("Blocked data: charCode: \(input.charCode), keyCode: \(input.keyCode), text: \(input.text)") delegate.callError("A9BFF20E") delegate.switchState(state) return true