Account for double-wide characters in CLI search results (fixes #1058)