On 23 September 2012 20:56, Sergey Naumov <sknau...@gmail.com> wrote: > Also, could you explain how to detect if there is a up/down space > outside visible area we can scroll to? I have surfed the code a bit a > have tried screen->grid->hsize, because screen_resize_y() uses it to > check if there is some lines to pull to new lines, but without success > - when we a scrolling, gd->hsize==0. If we can check in > window_copy_mouse() that there is a space to scroll to, we can send > scroll_only==1 to window_copy_cursor_up().
If your aim is to get scrolling without affecting the position of the cursor when you enter copy-mode, there's been a patch for this sent to this list recently -- but it's still very much in review. -- Thomas Adam ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users