Commits

Randy Stauner committed 7cb700b

Fix python prompt so colors don't confuse readline

  • Participants
  • Parent commits e1b820a

Comments (0)

Files changed (1)

home/.python_startup

     del os, histfile
 
 import sys
-sys.ps1 = "\033[01;33m>>>\033[00m "
-sys.ps2 = "\033[01;33m...\033[00m "
+sys.ps1 = "\001\033[01;33m\002>>>\001\033[00m\002 "
+sys.ps2 = "\001\033[01;33m\002...\001\033[00m\002 "