pub fn tx_confirm() -> boolExpand description
Prompt the user to confirm a transmit action.
Returns true when the caller may proceed:
CONFIRM_TXis false — confirmation globally disabled.- The user typed
yoryes(case-insensitive).
Returns false when the caller must abort:
- Script mode is active and confirmation is required.
- The user typed anything else, including blank lines.
- Reading from stdin failed.
In the abort path the function prints an explanatory line via
plain println! (so the message is not suppressed by the
history buffer or the quiet flag — confirmation is always loud).