diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-29 21:30:50 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-29 21:30:50 +0000 |
commit | 68e06fb6b76b250b1971867244f33eb809891b1f (patch) | |
tree | 4f8278f6ccd1a5ba4533c9cac1b0a5101eec7ec3 /cmd-paste-buffer.c | |
parent | 003e8e65f7a3613a3f3004091ad1c57298dbf507 (diff) | |
download | rtmux-68e06fb6b76b250b1971867244f33eb809891b1f.tar.gz rtmux-68e06fb6b76b250b1971867244f33eb809891b1f.tar.bz2 rtmux-68e06fb6b76b250b1971867244f33eb809891b1f.zip |
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.
Diffstat (limited to 'cmd-paste-buffer.c')
0 files changed, 0 insertions, 0 deletions