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:
parent
1b534ee8d2
commit
564c4c1a60
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user