summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author7heo <7heo@users.noreply.github.com>2016-07-29 02:54:07 +0200
committerJonathan Slenders <jonathan@slenders.be>2016-07-30 15:48:08 +0200
commit4ef995693903804523908e4893ec569c2d57c9cc (patch)
tree7a155a39487de59ddc3152f6fb49e781416d39e3
parentda46350f9c0c4cb4f36fc43e5bc527700c687b62 (diff)
FIX: Remove unnecessary (default) parameter
-rw-r--r--prompt_toolkit/terminal/vt100_output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt_toolkit/terminal/vt100_output.py b/prompt_toolkit/terminal/vt100_output.py
index 8b7833a7..830ccc2d 100644
--- a/prompt_toolkit/terminal/vt100_output.py
+++ b/prompt_toolkit/terminal/vt100_output.py
@@ -314,7 +314,7 @@ def _get_size(fileno):
buf = array.array(b'h' if six.PY2 else u'h', [0, 0, 0, 0])
# Do TIOCGWINSZ (Get)
- fcntl.ioctl(fileno, termios.TIOCGWINSZ, buf, True)
+ fcntl.ioctl(fileno, termios.TIOCGWINSZ, buf)
# Return rows, cols
return buf[0], buf[1]