commit | d7626cd9d766bdffb3f1dc729933a98c77379da2 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Mon Oct 12 17:19:47 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Mon Oct 12 17:19:47 2009 +0000 |
tree | 4943520e8f5fbbfb100ca957a040e2a6d98eeda2 | |
parent | 8608c6970d67d5dec37400bcb4fb6a0c46efc165 [diff] |
When drawing lines that have wrapped naturally, don't force a newline but permit them to wrap naturally again. This allows terminals that use this to guess where lines start and end for eg mouse selecting (like xterm) to work correctly. This was another long-standing issue raised by several people over the last while. Thanks to martynas@ for much testing. This was not trivial to get right so bringing it in for wider testing and adn to fix any further glitches in-tree.