mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #42 from takluyver/colorama-init2
Initialise colorama for textui on Windows.
This commit is contained in:
@@ -7,7 +7,10 @@ clint.textui
|
||||
This module provides the text output helper system.
|
||||
|
||||
"""
|
||||
|
||||
import sys
|
||||
if sys.platform.startswith('win'):
|
||||
from ..packages import colorama
|
||||
colorama.init()
|
||||
|
||||
from . import colored
|
||||
from . import progress
|
||||
|
||||
Reference in New Issue
Block a user