How? There's the concept of a "tofu", an invisible character added to each completion candidate, to be stripped later. Prior art in Consult.