Revision: 2725 http://tmux.svn.sourceforge.net/tmux/?rev=2725&view=rev Author: tcunha Date: 2012-03-18 01:35:39 +0000 (Sun, 18 Mar 2012) Log Message: ----------- Sync OpenBSD patchset 1046:
Always remember last cursor position when moving up or down, not just for if crossing zero length lines. From Itay Perl. Modified Paths: -------------- trunk/window-copy.c Modified: trunk/window-copy.c =================================================================== --- trunk/window-copy.c 2012-03-18 01:33:56 UTC (rev 2724) +++ trunk/window-copy.c 2012-03-18 01:35:39 UTC (rev 2725) @@ -1629,7 +1629,7 @@ oy = screen_hsize(data->backing) + data->cy - data->oy; ox = window_copy_find_length(wp, oy); - if (ox != 0) { + if (data->cx != ox) { data->lastcx = data->cx; data->lastsx = ox; } @@ -1671,7 +1671,7 @@ oy = screen_hsize(data->backing) + data->cy - data->oy; ox = window_copy_find_length(wp, oy); - if (ox != 0) { + if (data->cx != ox) { data->lastcx = data->cx; data->lastsx = ox; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs