Making hidden char highlight work on command line and gui.