clean impl

- use statics to define color
- don't write all escape char each time
- dont't reinit term multiple time on one string