Fix for show branch in prompt related to coloring and prompt overwriting