fix issues #74 and #100 : trailing space crash

If available width is known and equals to 0, we don't have space to write to, so return.