1. Ralph Bean
  2. fabulous

Commits

J.A. Roberts Tunney  committed 39e8580

sane init of terminfo

  • Participants
  • Parent commits 61c1bb6
  • Branches default

Comments (0)

Files changed (1)

File fabulous/utils.py

View file
  • Ignore whitespace
 
 
 class TerminalInfo(object):
+    def __init__(self, bgcolor='black'):
+        self.bgcolor = bgcolor
+
     @property
     def dimensions(self):
         call = fcntl.ioctl(0, termios.TIOCGWINSZ, "\000" * 8)
 
 
 term = TerminalInfo()
-term.bgcolor = 'black'
 
 
 def pil_check():