From fd05c7d707dbb4ba203b067cc98be60b01cf4d27 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 15 Feb 2011 22:16:45 +0100 Subject: Change the timer to avoid split of big pastes --- src/keyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3