We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f16b5b8 commit 9e5b803Copy full SHA for 9e5b803
lib/vsc/utils/generaloption.py
@@ -67,7 +67,7 @@ def set_columns(cols=None):
67
if cols is None:
68
if os.path.exists(STTY):
69
try:
70
- proc = subprocess.run(['/usr/bin/stty', 'size'], capture_output=True)
+ proc = subprocess.run(['/usr/bin/stty', 'size'], stdout=subprocess.PIPE)
71
cols = str(proc.stdout.splitlines()[0].decode('utf-8').split(' ')[1])
72
except (AttributeError, IndexError, OSError, ValueError):
73
# do nothing
0 commit comments