aboutsummaryrefslogtreecommitdiff
path: root/cmd-paste-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-29 21:30:50 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-29 21:30:50 +0000
commit68e06fb6b76b250b1971867244f33eb809891b1f (patch)
tree4f8278f6ccd1a5ba4533c9cac1b0a5101eec7ec3 /cmd-paste-buffer.c
parent003e8e65f7a3613a3f3004091ad1c57298dbf507 (diff)
downloadrtmux-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