summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-07-03 21:59:23 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-07-03 23:02:23 +0200
commit3247974eb447b5fe2bc4df19464b2f15282f30cd (patch)
treed607548b22ce13aa59a8b5a46ba6cc5f3dbef67c /doc/en
parent824cfb64277213aca89dfba5f0b474f94f6dd482 (diff)
downloadweechat-3247974eb447b5fe2bc4df19464b2f15282f30cd.zip
core: don't send key_pressed signal again for the same key press
If you press an incomplete key sequence, previously WeeChat would send the key_pressed signal again for the same keys on the next key. E.g. if you press escape and then 1, previously you would get the key_pressed signal with signal_data `\x01[` when you pressed escape, and then key_pressed with `\x01[` again when you pressed 1 (plus key_pressed with `1` for the 1 key). So two signals for the escape key, even though it was only pressed once. With this patch, you only get one signal for each key press. So one with `\x01[` when you press escape and then one with `1` when you press 1.
Diffstat (limited to 'doc/en')
0 files changed, 0 insertions, 0 deletions