diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-07-19 23:58:55 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-07-19 23:58:55 +0000 |
commit | 5be8a3cb84eb2f8185cf1051a3b608930c64f0bd (patch) | |
tree | c997ca7750b31cb3bbf59cfaf08245c9722642f7 /src | |
parent | 0bda09b0abc9a2c5cdffc9d73454febaf913575c (diff) | |
download | poezio-5be8a3cb84eb2f8185cf1051a3b608930c64f0bd.tar.gz poezio-5be8a3cb84eb2f8185cf1051a3b608930c64f0bd.tar.bz2 poezio-5be8a3cb84eb2f8185cf1051a3b608930c64f0bd.tar.xz poezio-5be8a3cb84eb2f8185cf1051a3b608930c64f0bd.zip |
remove a debug
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/keyboard.py b/src/keyboard.py index c06e66ec..1344035f 100644 --- a/src/keyboard.py +++ b/src/keyboard.py @@ -24,14 +24,11 @@ of the time ONE char, but may be longer if it's a keyboard shortcut, like ^A, M-a or KEY_RESIZE) """ -from common import debug - def get_next_byte(s): """ Read the next byte of the utf-8 char """ c = s.getkey() - debug(c) if len(c) > 4: return (None, c) return (ord(c), c) @@ -50,7 +47,6 @@ def read_char(s): if first == 27: (first, c) = get_next_byte(s) char = "M-"+c - # return char if 194 <= first: (code, c) = get_next_byte(s) # 2 bytes char char += c |