Implement using Ctrl+Shift+u to input unicode

Fixes #302
This commit is contained in:
Kovid Goyal
2018-02-08 22:47:17 +05:30
parent 194454715f
commit 3068846d8f
5 changed files with 37 additions and 1 deletions

View File

@@ -88,5 +88,5 @@ def main(args=sys.argv):
handler = UnicodeInput()
loop.loop(handler)
if handler.current_char and loop.return_code == 0:
print(hex(ord(handler.current_char))[2:])
print('OK:', hex(ord(handler.current_char))[2:])
raise SystemExit(loop.return_code)