Expand description
“Did you mean” (spec
docs/superpowers/specs/2026-10-10-phase-3-4b-fixes-and-colour-design.md
§4.3).
Functions§
- change_
to - “change
xtoy”,ythe closest ofcandidates(spec §4.3). - closest
- The candidate to offer for the unknown
name, other thannameitself (spec §4.3): one equal to it ignoring ASCII case, at any distance; else the nearest withinmax(len, 3) / 3edits,lenin characters; ties in byte order. - distance
- The optimal string alignment distance between
aandb, over Unicode scalar values: an insertion, a deletion, a substitution, or a swap of two adjacent characters each counts one.