Ignore:
Timestamp:
12/28/20 15:00:39 (4 years ago)
Author:
tbretz
Message:
Readline needs to be told which are the printable charcters in the prompt and which are not... this was why it sometimes bevahed a bit erratic.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/LocalControl.h

    r16387 r20015  
    200200    {
    201201        return GetLinePrompt()+" "
    202             "\033[34m\033[1m"+fName+"\033[0m:"
    203             "\033[32m\033[1m"+fStateMachine->GetStateName()+"\033[0m> ";
     202            "\001\033[34m\033[1m\002"+fName+"\001\033[0m\002:"
     203            "\001\033[32m\033[1m\002"+fStateMachine->GetStateName()+"\001\033[0m\002> ";
    204204    }
    205205};
Note: See TracChangeset for help on using the changeset viewer.