summaryrefslogtreecommitdiff
path: root/doc/en/keys.txt
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-10-09 04:35:02 +0000
committerFlorent Le Coz <louiz@louiz.org>2012-10-09 04:35:02 +0000
commit653695498aa334f3c34b0946162020fbae10839d (patch)
treecc2354bfb13e8f37daf9cce15d04ce2b3d3a544d /doc/en/keys.txt
parent4965ee161896ccea6700485dc944db88947107c1 (diff)
downloadpoezio-653695498aa334f3c34b0946162020fbae10839d.tar.gz
poezio-653695498aa334f3c34b0946162020fbae10839d.tar.bz2
poezio-653695498aa334f3c34b0946162020fbae10839d.tar.xz
poezio-653695498aa334f3c34b0946162020fbae10839d.zip
Separate special keys from normal chars when receving a batch of chars.
In case of lags or paste of text, the input can yield a list of chars instead of just one char. In case of lags, keyboard special keys (KEY_BACKSPACE, ^W, etc) are mixed with other “normal” chars ('a', 'b', 'D', ' ' etc). Instead of handling that whole batch in one go (which requires us to ignore all the special keys, otherwise they would be displayed in the input, which are both bad ways to handle that), we separate special keys from the normal ones, and we handle that big batch as one or more smaller batches. This should make the input behave correctly in case of lag AND in case of paste of huge text (only one refresh per batch, respond instantly, no key lost or ignored, etc) fixed #2365
Diffstat (limited to 'doc/en/keys.txt')
0 files changed, 0 insertions, 0 deletions