ripencli 0.2.7 → 0.2.8
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/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1770,7 +1770,7 @@ function Settings({ config, onConfigChange, onClose }) {
|
|
|
1770
1770
|
setInputMode(true);
|
|
1771
1771
|
setInputValue("");
|
|
1772
1772
|
}
|
|
1773
|
-
if ((key.backspace || key.delete) && currentRow?.type === "list-item" && currentRow.listItemIndex !== void 0) {
|
|
1773
|
+
if ((key.backspace || key.delete || input === "d" && !key.ctrl) && currentRow?.type === "list-item" && currentRow.listItemIndex !== void 0) {
|
|
1774
1774
|
const scope = scopes[currentRow.listItemIndex];
|
|
1775
1775
|
removeScope(scope);
|
|
1776
1776
|
if (flatCursor >= rows.length - 1) setFlatCursor(Math.max(0, flatCursor - 1));
|
|
@@ -1947,7 +1947,7 @@ function Settings({ config, onConfigChange, onClose }) {
|
|
|
1947
1947
|
itemFocused && /* @__PURE__ */ jsxs(Text, {
|
|
1948
1948
|
dimColor: !config.groupByScope,
|
|
1949
1949
|
color: "gray",
|
|
1950
|
-
children: [" ", "
|
|
1950
|
+
children: [" ", "d to remove"]
|
|
1951
1951
|
})
|
|
1952
1952
|
]
|
|
1953
1953
|
}, scope);
|
|
@@ -1999,7 +1999,7 @@ function Settings({ config, onConfigChange, onClose }) {
|
|
|
1999
1999
|
" ",
|
|
2000
2000
|
/* @__PURE__ */ jsx(Text, {
|
|
2001
2001
|
color: "white",
|
|
2002
|
-
children: "
|
|
2002
|
+
children: "d"
|
|
2003
2003
|
}),
|
|
2004
2004
|
" remove",
|
|
2005
2005
|
" ",
|