Smart line-wrapping with wrap-prefix