Expand description
Ratatui modals: y/N confirm, free-text, and masked secret input.
Structs§
- Secret
Input - Masked secret modal (sudo password). Same keys as
TextInput; display is*. - Text
Input - Free-text modal (non-secret). Global shortcuts must not fire while open.
Enums§
- Confirm
Result - Outcome of a confirm modal key.
- Text
Input Result - Result of handling a key in
TextInput/SecretInput.
Functions§
- centered_
fixed 🔒 - confirm_
key - Handle y/N / Enter / Esc for a confirm overlay.
- draw_
confirm - Draw a compact centered confirm dialog (opaque so the panel behind cannot bleed).
- draw_
rebooting - Draw opaque “Rebooting…” wait dialog (SSH runs on a background thread).
- draw_
secret_ input - Draw a centered masked secret dialog (opaque).
- draw_
text_ input - Draw a centered text-input dialog (opaque).
- edit_
buffer 🔒 - modal_
block 🔒