projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[compat] Fix wrong lines/columns order
[youtube-dl]
/
youtube_dl
/
compat.py
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index 1ba4ab78cc44af89f5ff528d0db979a8dff5f3b8..192e1c515e568b73e6bb5a42574fada4af511662 100644
(file)
--- a/
youtube_dl/compat.py
+++ b/
youtube_dl/compat.py
@@
-434,7
+434,7
@@
else:
['stty', 'size'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = sp.communicate()
- _
columns, _line
s = map(int, out.split())
+ _
lines, _column
s = map(int, out.split())
except Exception:
_columns, _lines = _terminal_size(*fallback)