The mud uses NAWS to negotiate about the window size. Sometimes mud clients are buggy and claim wrong values, or you may want to override it. You must deactivate naws with this command before you can set values with $[rows$] and $[cols].