Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: third_party/colorama/winterm.py

Issue 54603003: Update colorama from upstream to 5a3100113a3a. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/colorama/win32.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/colorama/winterm.py
diff --git a/third_party/colorama/winterm.py b/third_party/colorama/winterm.py
index ae22c4658af4d167ed1ad184faf468e89244b620..2708811541f0888138d00fe7e932fdff1c144b19 100644
--- a/third_party/colorama/winterm.py
+++ b/third_party/colorama/winterm.py
@@ -1,4 +1,4 @@
-
+# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
from . import win32
@@ -113,7 +113,7 @@ class WinTerm(object):
# get the number of character cells in the current buffer
dw_con_size = csbi.dwSize.X * csbi.dwSize.Y
# fill the entire screen with blanks
- win32.FillConsoleOutputCharacter(handle, ord(' '), dw_con_size, coord_screen)
+ win32.FillConsoleOutputCharacter(handle, ' ', dw_con_size, coord_screen)
# now set the buffer's attributes accordingly
win32.FillConsoleOutputAttribute(handle, self.get_attrs(), dw_con_size, coord_screen );
# put the cursor at (0, 0)
« no previous file with comments | « third_party/colorama/win32.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698