KeyHandler // Cout when key pressed during candidate selection state.

This commit is contained in:
ShikiSuen 2022-02-13 23:52:16 +08:00
parent b00805ec30
commit 7586a25fee
1 changed files with 2 additions and 0 deletions

View File

@ -943,6 +943,8 @@ static NSString *const kGraphVizOutputfile = @"/tmp/vChewing-visualization.dot";
{
NSString *inputText = input.inputText;
UniChar charCode = input.charCode;
NSString *char2Print = [NSString stringWithCharacters:&charCode length:1];
NSLog(@"vChewingCandidateKeyDebug: %@", char2Print);
VTCandidateController *gCurrentCandidateController = [self.delegate candidateControllerForKeyHandler:self];
BOOL cancelCandidateKey = (charCode == 27) || (charCode == 8) || [input isDelete];