client: confirm an unbracketed paste that carries any control byte #229
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!229
Loading…
Reference in a new issue
No description provided.
Delete branch "client/paste-control-confirm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With bracketed paste off, the confirmation bar (REQ-804) asked only when a paste carried a line break. Other C0 controls act as typed keys at the receiving program just as a newline does, so the bar now asks for any C0 control other than HT. DEL, C1 and non-ASCII text do not raise it.
felis-client-core:paste_needs_confirmationwidened; a single-line paste reads "Paste text containing control characters? …" instead of "Paste 1 lines?". Unit tests and proptests.felis sessions sendstill delivers exactly what a script wrote.Closes #217
ba924005b1f2a08840c7