Skip to content

Commit

Permalink
Fixes rich formatting on some terminals (win10)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Nov 29, 2023
1 parent 210f6e2 commit e9db257
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pros/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Setup analytics first because it is used by other files

import os.path
import ctypes

import pros.common.sentry

Expand All @@ -27,6 +28,9 @@
import pros.cli.interactive
import pros.cli.user_script

kernel32 = ctypes.windll.kernel32
kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 7)

root_sources = [
'build',
'conductor',
Expand Down

0 comments on commit e9db257

Please sign in to comment.