python: shorten vtseqs
python: prepare for 256-color
python: use 256-color for prompts
python: s/fmt()/csi()/
python: fix indentation
python: retab for consistency