summaryrefslogtreecommitdiff
path: root/src/keyboard.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-15 22:16:45 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-15 22:16:45 +0100
commitfd05c7d707dbb4ba203b067cc98be60b01cf4d27 (patch)
tree50a621a6c95c669158cdfe42a5e0fec139d4df97 /src/keyboard.py
parent32d8a5281db726abd80df4e87a013eafc985c502 (diff)
downloadpoezio-fd05c7d707dbb4ba203b067cc98be60b01cf4d27.tar.gz
poezio-fd05c7d707dbb4ba203b067cc98be60b01cf4d27.tar.bz2
poezio-fd05c7d707dbb4ba203b067cc98be60b01cf4d27.tar.xz
poezio-fd05c7d707dbb4ba203b067cc98be60b01cf4d27.zip
Change the timer to avoid split of big pastes
Diffstat (limited to 'src/keyboard.py')
-rw-r--r--src/keyboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.py b/src/keyboard.py
index ba845b83..050859a8 100644
--- a/src/keyboard.py
+++ b/src/keyboard.py
@@ -57,7 +57,7 @@ def read_char(s):
if first < 127: # ASCII char on one byte
if first <= 26: # transform Ctrl+* keys
char = chr(first + 64)
- if char == 'M' and time.time() - last_char_time < 0.0001:
+ if char == 'M' and time.time() - last_char_time < 0.0005:
char = 'J'
return "^"+char
if first == 27: