writes a (d)string to terminal. if it does not fit in one line, it is wrapped
number of characters written
See Implementation
writes a (d)string to terminal. if it does not fit in one line, it is wrapped