2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

(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

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: