Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tty.setWindowSize should use the correct function

Thanks to Matthew Woolman
  • Loading branch information...
commit a14bb04c0500567bc0579da50cc5bc3cb559ba20 1 parent 0304f1f
@ry ry authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/node_stdio.cc
View
2  src/node_stdio.cc
@@ -295,7 +295,7 @@ void Stdio::Initialize(v8::Handle<v8::Object> target) {
NODE_SET_METHOD(target, "isStdinBlocking", IsStdinBlocking);
NODE_SET_METHOD(target, "setRawMode", SetRawMode);
NODE_SET_METHOD(target, "getWindowSize", GetWindowSize);
- NODE_SET_METHOD(target, "setWindowSize", GetWindowSize);
+ NODE_SET_METHOD(target, "setWindowSize", SetWindowSize);
NODE_SET_METHOD(target, "isatty", IsATTY);
NODE_SET_METHOD(target, "openpty", OpenPTY);
Please sign in to comment.
Something went wrong with that request. Please try again.