Reduce size of encoded key event by using base64 encoding

This commit is contained in:
Kovid Goyal
2017-02-10 15:34:06 +05:30
parent ded9cf227a
commit d9563e52c8
4 changed files with 143 additions and 140 deletions

View File

@@ -37,7 +37,7 @@ if raw != nraw:
raw = subprocess.check_output([
'kitty', '-c',
'from kitty.keys import *; import json; print(json.dumps(key_extended_map))'
'from kitty.keys import *; import json; print(json.dumps(generate_key_extended_map(True)))'
]).decode('utf-8')
key_map = json.loads(raw)
lines = [