When you start a selection and then move a line up, then the starting
cell isn't indicated to be in the selection. It should be and this patch
fixes that.
---
 screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/screen.c b/screen.c
index 7bfc015..3b741b2 100644
--- a/screen.c
+++ b/screen.c
@@ -334,7 +334,7 @@ screen_check_selection(struct screen *s, u_int px, u_int py)
                        if (py > sel->sy || py < sel->ey)
                                return (0);
 
-                       if ((py == sel->sy && px >= sel->sx)
+                       if ((py == sel->sy && px > sel->sx)
                            || (py == sel->ey && px < sel->ex))
                                return (0);
                } else {
-- 
1.9.1.423.g4596e3a


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to