aboutsummaryrefslogtreecommitdiff
path: root/cmd-source-file.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-21 07:33:58 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-21 07:33:58 +0000
commitf817a338d035d96cec8ceeaaa60a79ac01421563 (patch)
tree7b570f40bb6a92b7c03f89cdfa682ea81b40913c /cmd-source-file.c
parent0198bb6bf3f1b3877ca8def6d198642a2a41d342 (diff)
downloadrtmux-f817a338d035d96cec8ceeaaa60a79ac01421563.tar.gz
rtmux-f817a338d035d96cec8ceeaaa60a79ac01421563.tar.bz2
rtmux-f817a338d035d96cec8ceeaaa60a79ac01421563.zip
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.
Diffstat (limited to 'cmd-source-file.c')
0 files changed, 0 insertions, 0 deletions