auq-mcp-server 3.2.8 → 3.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -92,6 +92,7 @@ export const OptionsList = ({ isFocused, onSelect, options, selectedOption, show
|
|
|
92
92
|
onAdvance?.();
|
|
93
93
|
}
|
|
94
94
|
else if (key.name === "return") {
|
|
95
|
+
key.preventDefault(); // prevent <input> onChange from overwriting state
|
|
95
96
|
if (key.shift) {
|
|
96
97
|
// Shift+Enter: insert newline
|
|
97
98
|
onCustomChange?.(customValue + "\n");
|
|
@@ -113,6 +114,7 @@ export const OptionsList = ({ isFocused, onSelect, options, selectedOption, show
|
|
|
113
114
|
onAdvance?.();
|
|
114
115
|
}
|
|
115
116
|
else if (key.name === "return") {
|
|
117
|
+
key.preventDefault(); // prevent <input> onChange from overwriting state
|
|
116
118
|
if (key.shift) {
|
|
117
119
|
// Shift+Enter: insert newline
|
|
118
120
|
onElaborateTextChange?.(elaborateText + "\n");
|