reworked console prompt mechanism