Closed vslinko closed 9 years ago
Try doing a nc.cleanup before your call to resize. I don't know if it's the "right" thing to do, or if there's a better way to do it. But it works for me at least.
This is a bit of a killer, would really like to see this one fixed because it means that we're stuck with window sizes on startup. :\
I've just bumped up against this as well. Anyone have any insight into where the problem might lie? I think I've chased the nc.lines and nc.cols properties to here in binding.cc:
static Handle<Value> LinesStateGetter (Local<String> property,
const AccessorInfo& info) {
assert(property == lines_state_symbol);
HandleScope scope;
return scope.Close(Integer::New(LINES));
}
static Handle<Value> ColsStateGetter (Local<String> property,
const AccessorInfo& info) {
assert(property == cols_state_symbol);
HandleScope scope;
return scope.Close(Integer::New(COLS));
}
But I'm way beyond my C++ knowledge at this point.
Thanks @mscdex for your bindings!
Do you have some information about this point from TODO? I can't resize my windows: