@dotrino/vaultd 0.80.1 → 0.80.2
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/tui/app.js +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotrino/vaultd",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Certificador personal de Dotrino: daemon headless que custodia la clave maestra y delega capacidades a tus dispositivos por el proxy. Tu CA propia.",
|
|
6
6
|
"bin": {
|
package/src/tui/app.js
CHANGED
|
@@ -1072,7 +1072,15 @@ async function onKeyCaps (term, st, key) {
|
|
|
1072
1072
|
else salir()
|
|
1073
1073
|
return true
|
|
1074
1074
|
}
|
|
1075
|
-
if (key.name === 'f5') {
|
|
1075
|
+
if (key.name === 'f5') {
|
|
1076
|
+
// F5 PREGUNTA IGUAL QUE ESC. Refrescar trae el acta de nuevo y el borrador deja de
|
|
1077
|
+
// tener con qué compararse, así que hay que tirarlo — pero tirarlo callando es perder
|
|
1078
|
+
// trabajo sin decirlo, que es lo mismo que Esc ya no hace.
|
|
1079
|
+
const refrescar = async () => { st.capsDraft = null; await refreshMembers(term, st) }
|
|
1080
|
+
if (sucio) setConfirm(st, { text: i.capsDiscard, onYes: refrescar })
|
|
1081
|
+
else await refrescar()
|
|
1082
|
+
return true
|
|
1083
|
+
}
|
|
1076
1084
|
|
|
1077
1085
|
// GUARDAR: UNA sola acta con todo lo que hayas tocado.
|
|
1078
1086
|
if (ch === 'g') {
|