diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-04-10 03:52:46 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-04-10 03:52:46 +0200 |
commit | a6c56682b74acb7ef568913bbc964b4f17cf3202 (patch) | |
tree | a69f53ea655b34831bbff0572dcc487429057f9e /src/keyboard.py | |
parent | 35b6e146cb6a0b313d6297f0d91654aa21f58c1b (diff) | |
download | poezio-a6c56682b74acb7ef568913bbc964b4f17cf3202.tar.gz poezio-a6c56682b74acb7ef568913bbc964b4f17cf3202.tar.bz2 poezio-a6c56682b74acb7ef568913bbc964b4f17cf3202.tar.xz poezio-a6c56682b74acb7ef568913bbc964b4f17cf3202.zip |
Implement paused chate state. fixed #2124
Diffstat (limited to 'src/keyboard.py')
-rw-r--r-- | src/keyboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.py b/src/keyboard.py index cca854fa..8688d439 100644 --- a/src/keyboard.py +++ b/src/keyboard.py @@ -51,7 +51,7 @@ def read_char(s): # last_char_time = time.time() s.timeout(1000) (first, char) = get_next_byte(s) - if first is None: + if first is None and char is None: return None if not isinstance(first, int): # Keyboard special, like KEY_HOME etc return char |