(keep the -1 in ansiterm for now)

This commit is contained in:
Thomas Nagy 2014-01-25 20:26:11 +01:00
parent 1b534ee8d2
commit 564c4c1a60
1 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,8 @@ else:
sbinfo = CONSOLE_SCREEN_BUFFER_INFO()
def get_term_cols():
windll.kernel32.GetConsoleScreenBufferInfo(console, byref(sbinfo))
return sbinfo.Size.X
# TODO Issue 1401
return sbinfo.Size.X - 1
# just try and see
try: