grid: decide width policy where felis disagrees with wcwidth #15
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#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Places where felis's cell width differs from what applications compute, so the cursor desyncs. Each needs a policy decision (and a record in
docs/explanation/data-model/grid-and-cells.md) before code.printf 'a\xc2\xadb'.zwj_continues_into_prev(editing.rs~630) folds any non-ASCII scalar after a ZWJ, not only Extended_Pictographic (UAX #29 GB11); with the.min(2)clamp ingrapheme_width(screen.rs~339)👩字is 2 cells where apps count 4,कखग2 vs 3. The doc comment onextends_previous_graphemeclaims a width-2 emoji gate the code does not have.a🏻bis 2 cells, apps count 3.\e[?2027;1$y(set) rather than;3(permanently set) (editing.rs~2864), so an app cannot tell it cannot opt out.The width-policy changes landed (
e2f0c08ejoins across a ZWJ only between pictographs;51ccdf64reports grapheme cluster mode as permanently set); the remaining open question is the Indic conjunct policy, tracked in #25.