Paste Confirmation
Review flagged input before Chau7 sends Enter.
Availability
Partially implemented in stable. Read the limits below before relying on this workflow.
Reviewed against stable v0.5.1. Rust candidate additions are labeled separately. Release status.
The pain this solves
- Submitting multiline or flagged input without reviewing it can trigger more shell actions than intended.
What ships with it
- Checks input when Enter is submitted rather than intercepting every paste event.
- Can require confirmation for multiline input, selected lookalike characters, self-protection rules, and configured risky patterns.
- Does not provide an editable syntax-highlighted paste-preview dialog.
Questions this answers
- Does Chau7 ask before submitting multiline input?
- Can I preview and edit pasted text before it enters the terminal?
- What does the command-safety guard check?
How it works
The stable app checks direct terminal input when Enter is about to be forwarded. Multiline input, selected Unicode lookalikes, self-protection rules, and configured risky-command patterns can trigger a confirmation.
The guard delays Enter until the user chooses how to proceed; it does not rewrite the command text. Allow and block lists and configured patterns affect later checks.
This is not an editor shown at paste time: v0.5.1 does not provide the advertised syntax-highlighted paste preview, inline editing, or trailing-newline controls.
Why it matters
A prompt at submission can make some accidental multiline or risky commands easier to notice. It is a command guard, not a general paste preview or a guarantee that every dangerous command will be detected.
Frequently asked questions
When does the confirmation appear?
When the command-safety guard checks input as Enter is submitted, not as a separate dialog for every paste event.
Can I edit a preview before pasting?
No. The stable guard delays command submission and leaves the input text unchanged.
Can I change the rules?
The app exposes allow/block lists and configurable risky-command patterns; the guard can also be disabled in settings.