Another console fix: discard text markup when getting the command line's text