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 6ac23ef commit 5298f8bCopy full SHA for 5298f8b
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'], stdout=subprocess.PIPE)
+ proc = subprocess.run(['/usr/bin/stty', 'size'], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
71
cols = str(proc.stdout.splitlines()[0].decode('utf-8').split(' ')[1])
72
except (AttributeError, IndexError, OSError, ValueError):
73
# do nothing
0 commit comments