tty.setWindowSize should use the correct function

Thanks to Matthew Woolman
pull/22966/head
Ryan Dahl 2011-02-28 11:18:56 -08:00
parent 0304f1fc22
commit a14bb04c05
1 changed files with 1 additions and 1 deletions

View File

@ -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);