Skip to content

Commit

Permalink
fixed bug on windows
Browse files Browse the repository at this point in the history
- italics wonts work on windows for now
  • Loading branch information
t3chn0tr0n committed Aug 9, 2019
1 parent 736fe31 commit 58e44c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Bootstrap:
def __init__(self):
if sys.platform == 'win32':
kernel32 = windll.kernel32
kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 8)
kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 7)

default = '\33[0m'

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='termstrap',
version='1.2.2',
version='1.2.3',
description='Terminal Bootstrap - A Python css file for unicode text formatting in python console output',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 58e44c7

Please sign in to comment.