Start coloring after the space which follows the selection indicator instead of on that space. The difference isn't noticeable when the highlighting is just a color, but it is if that highlighting includes inverse video or underline which visibly apply to spaces. So for a - entry A the old code produced a -######## and this revised code produces a - ####### where '#" indicates characters subject to menu coloring.
121 KiB
121 KiB