This commit is contained in:
Thomas Nagy 2015-12-25 17:50:13 +01:00
parent ad2f3d420c
commit 6aa1c74798
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ else:
sbinfo = CONSOLE_SCREEN_BUFFER_INFO()
def get_term_cols():
windll.kernel32.GetConsoleScreenBufferInfo(console, byref(sbinfo))
# TODO Issue 1401
# Issue 1401 - the progress bar cannot reach the last character
return sbinfo.Size.X - 1
# just try and see