commit | d07d18258b5f998fa101dd5e3427b3fa6ba39231 | [log] [download] |
---|---|---|
author | Tiago Cunha <tcunha@gmx.com> | Fri Aug 21 21:12:07 2009 +0000 |
committer | Tiago Cunha <tcunha@gmx.com> | Fri Aug 21 21:12:07 2009 +0000 |
tree | c5f659f4c22fc5e09877580b0b8b72a260b4a25f | |
parent | a004fc3592145bcefafb3044f2ab458a6f18f85c [diff] |
Sync OpenBSD patchset 284: When moving up or down in copy mode, save the cursor position and size of the last line with content (width != 0) and use it to determine if the cursor should be at the end of the line. Fixes problem of the cursor always jumping to the end of the line when scrolling past a blank line.