From 175533a5e9a0892e1648782cc9bf6c7ec8917a38 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Thu, 4 Jul 2024 19:16:48 +0200 Subject: xP: don't interrupt IME composition On Vivaldi/macOS, pressing Enter would send the input and still keep editing it as it was. --- xP/public/xP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xP/public') 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 -- cgit v1.2.3-70-g09d2