@nevescloud/pip 3.2.0 → 3.2.1
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/package.json +1 -1
- package/pip-core.esm.js +9 -5
package/package.json
CHANGED
package/pip-core.esm.js
CHANGED
|
@@ -1645,11 +1645,15 @@ export function createPip(opts = {}) {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
function dispatchBuiltinSlash(cmd) {
|
|
1647
1647
|
if (cmd === "help" || cmd === "?") {
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1648
|
+
// The slash autocomplete dropdown already lists every command with
|
|
1649
|
+
// its description — /help duplicating that as a chat turn was visual
|
|
1650
|
+
// noise and history clutter. Reopen the dropdown in cmd-name mode
|
|
1651
|
+
// instead, same surface a user gets by typing `/`.
|
|
1652
|
+
input.value = "/";
|
|
1653
|
+
input.setSelectionRange(1, 1);
|
|
1654
|
+
input.focus();
|
|
1655
|
+
updateSlashSuggest();
|
|
1656
|
+
return { clearedUI: true };
|
|
1653
1657
|
}
|
|
1654
1658
|
if (cmd === "clear") {
|
|
1655
1659
|
history.length = 0;
|