diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-07-04 19:16:48 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-07-04 20:06:59 +0200 |
commit | 175533a5e9a0892e1648782cc9bf6c7ec8917a38 (patch) | |
tree | 9b6dd724ea08f8906184b08ea7516f859d3065bb | |
parent | a9b46141a991b3c3dba31beb262bf204537049d2 (diff) | |
download | xK-175533a5e9a0892e1648782cc9bf6c7ec8917a38.tar.gz xK-175533a5e9a0892e1648782cc9bf6c7ec8917a38.tar.xz xK-175533a5e9a0892e1648782cc9bf6c7ec8917a38.zip |
xP: don't interrupt IME composition
On Vivaldi/macOS, pressing Enter would send the input and still keep
editing it as it was.
-rw-r--r-- | xP/public/xP.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xP/public/xP.js b/xP/public/xP.js index a6cc303..6452038 100644 --- a/xP/public/xP.js +++ b/xP/public/xP.js @@ -997,7 +997,7 @@ let Input = { rpc.send({command: 'Active'}) let b = buffers.get(bufferCurrent) - if (b === undefined) + if (b === undefined || event.isComposing) return let textarea = event.currentTarget |