문제

I am getting key events that contain asci key codes and I was wondering if there was any easy way to convert these to the actual key or character in common lisp. I am using the ccl implementation which does not include int-char (which may or may not have worked for this task).

도움이 되었습니까?

해결책

You can use the code-char function. It will return the character encoded by given integer. Bear in mind that CCL uses Unicode, not pure 7-bit ASCII.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top