commit | 2de599ac0ec0634282a52711378258e25839bc7f | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Wed Jun 24 16:01:02 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Wed Jun 24 16:01:02 2009 +0000 |
tree | 801da081ece4aed7ebb958c794de17f63328cd1e | |
parent | 7b4077ef8710aead343ea306d598f457652ba5c0 [diff] |
Trying to predict the cursor position for UTF-8 output in the same way as for normal eight-bit output is wrong, separate it into a different function. Fixes spacing when mixing UTF-8 with some escape sequences, notably the way w3m does it.