bimmo-cli 4.1.2 β 4.1.4
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/src/interface.js +8 -2
package/package.json
CHANGED
package/src/interface.js
CHANGED
|
@@ -104,8 +104,14 @@ const AutocompleteSuggestions = ({ suggestions, selectedIndex }) => (
|
|
|
104
104
|
h(Box, { flexDirection: 'column', borderStyle: 'round', borderColor: THEME.border, paddingX: 1, marginBottom: 1 },
|
|
105
105
|
h(Text, { color: THEME.gray, dimColor: true, italic: true }, 'SugestΓ΅es (ββ navega, TAB seleciona):'),
|
|
106
106
|
suggestions.map((f, i) => (
|
|
107
|
-
h(
|
|
108
|
-
|
|
107
|
+
h(Box, { key: i },
|
|
108
|
+
h(Text, {
|
|
109
|
+
backgroundColor: i === selectedIndex ? THEME.green : undefined,
|
|
110
|
+
color: i === selectedIndex ? '#000000' : THEME.gray,
|
|
111
|
+
bold: i === selectedIndex
|
|
112
|
+
},
|
|
113
|
+
`${i === selectedIndex ? ' βΊ ' : ' '}${f.isDir ? 'π' : 'π'} ${f.rel}${f.isDir ? '/' : ''} `
|
|
114
|
+
)
|
|
109
115
|
)
|
|
110
116
|
))
|
|
111
117
|
)
|