From a14bb04c0500567bc0579da50cc5bc3cb559ba20 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 28 Feb 2011 11:18:56 -0800 Subject: [PATCH] tty.setWindowSize should use the correct function Thanks to Matthew Woolman --- src/node_stdio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_stdio.cc b/src/node_stdio.cc index c601478d6c..1c790d1be9 100644 --- a/src/node_stdio.cc +++ b/src/node_stdio.cc @@ -295,7 +295,7 @@ void Stdio::Initialize(v8::Handle 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);