commit | 35092835b04fda9ab5b13517701d0ee096abe1c0 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicholas.marriott@gmail.com> | Wed Jul 01 19:14:33 2009 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Wed Jul 01 19:14:33 2009 +0000 |
tree | 35bd57df43f8a804eae4a435b09cbf003a0101ce | |
parent | 8fe3f1dcb20d06ed9d747834f97b91829dcbf6b6 [diff] |
Fix two errors with character/line insertion and deletion: the maximum number of characters which may be inserted or deleted is the screen width, not one less (and similarly for lines and height); and if characters or lines are deleted by moving the ones that follow, the space at the end needs to be cleared. This appears to solve long-standing redraw issues most visible when using the force-width option then scrolling in view(1) or unwrapping lines in emacs.