You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/04/25 15:14:07 UTC
(camel) branch main updated: CAMEL-21945: camel-jbang edit plugin - fix ctrl + space in Mac (#17882)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 09f8f950401 CAMEL-21945: camel-jbang edit plugin - fix ctrl + space in Mac (#17882)
09f8f950401 is described below
commit 09f8f95040177b741522c18627d84c377d9d5fb8
Author: John Poth <po...@gmail.com>
AuthorDate: Fri Apr 25 17:14:02 2025 +0200
CAMEL-21945: camel-jbang edit plugin - fix ctrl + space in Mac (#17882)
---
.../apache/camel/dsl/jbang/core/commands/edit/CamelNanoLspEditor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dsl/camel-jbang/camel-jbang-plugin-edit/src/main/java/org/apache/camel/dsl/jbang/core/commands/edit/CamelNanoLspEditor.java b/dsl/camel-jbang/camel-jbang-plugin-edit/src/main/java/org/apache/camel/dsl/jbang/core/commands/edit/CamelNanoLspEditor.java
index 31e11c5cd87..1adb67109de 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-edit/src/main/java/org/apache/camel/dsl/jbang/core/commands/edit/CamelNanoLspEditor.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-edit/src/main/java/org/apache/camel/dsl/jbang/core/commands/edit/CamelNanoLspEditor.java
@@ -1791,7 +1791,7 @@ public class CamelNanoLspEditor implements Editor {
if (vsusp > 0) {
attributes.setControlChar(ControlChar.VSUSP, vsusp);
}
- newAttr.setLocalFlags(EnumSet.of(LocalFlag.ICANON, LocalFlag.ECHO, LocalFlag.IEXTEN), false);
+ newAttr.setLocalFlags(EnumSet.of(LocalFlag.ICANON, LocalFlag.ECHO, LocalFlag.IEXTEN, LocalFlag.ISIG), false);
newAttr.setInputFlags(EnumSet.of(InputFlag.IXON, InputFlag.ICRNL, InputFlag.INLCR), false);
newAttr.setControlChar(ControlChar.VMIN, 1);
newAttr.setControlChar(ControlChar.VTIME, 0);