title: Colorama and spacing
body: <p>I have a class to print "TextBoxes" that look similar to</p>
  
  <pre><code>#========================================#
  |                                        |
  |                                        |
  |                                        |
  |                                        |
  |                                        |
  #========================================#
  </code></pre>
  
  <p>When given dimensions. You can then assign lines text by calling the method setLineText. 
  Each line is stored in a list and printed with the method render with a simple for loop. </p>
  
  <p>Everything works fine and dandy until I introduce Colorama to the mix, when I use my <a href="http://pastebin.com/aMbXuTW6" rel="nofollow">setLineText method</a> with any Colorama formatting the line that I changed will always be short 5 spaces per call I used for formatting</p>
  
  <p>For example, </p>
  
  <pre><code>MainBox = views.TextBox(35, 6)
  MainBox.setLineText(1, "Hello! " + Fore.RED + User.name + Fore.RESET)
  MainBox.Render()
  </code></pre>
  
  <p>will output</p>
  
  <pre><code>#=================================#
  | Hello! User           |
  |                                 |
  |                                 |
  |                                 |
  #=================================#
  </code></pre>
  
  <p>My question is, is there a way to avoid prevent this from happening?</p>
  
  <p>EDIT: As an extra note, I'm using windows.</p>
  
  <p>ANSWER:
  After tons of testing, any regex I could come up with didn't work. My solution is to just use sys.stdout.write() to print the color changes and resets. It works well and hardly even need to change my current code</p>