fixed segfault

libvterm was dereferencing the resize callback pointer. since i
was not initializing it, things would be fine when it happened to
be zero (libvterm would not invoke the callback), but when it had
some garbage value it would cause a segfault