Looks good, applied, thanks.
On Fri, Mar 09, 2012 at 08:14:00PM +0200, Itay Perl wrote:
> This is the behavior I see in text editors, and it makes the most sense to me.
>
> For example, say your terminal shows
>
> AAAAAAAAAAAAAAAXAAA
> AAAAAAAAAA
> AAAAAAAAAAAAAAAXAAA
>
> If the cursor is on the lower X and you press Up twice, you should end
> up on the upper X.
>
> Currently this only happens if the middle line is empty.
>
> Index: window-copy.c
> ===================================================================
> --- window-copy.c (revision 2717)
> +++ window-copy.c (working copy)
> @@ -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;
> }
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> tmux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users