diff --git a/window-copy.c b/window-copy.c index 441d9527..b81ec976 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1,4 +1,4 @@ -/* $Id: window-copy.c,v 1.96 2010-01-28 22:41:45 tcunha Exp $ */ +/* $Id: window-copy.c,v 1.97 2010-01-28 22:42:36 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -492,6 +492,7 @@ window_copy_scroll_to(struct window_pane *wp, u_int px, u_int py) } data->oy = gd->hsize - offset; + window_copy_update_selection(wp); window_copy_redraw_screen(wp); } @@ -690,6 +691,7 @@ window_copy_goto_line(struct window_pane *wp, const char *linestr) return; data->oy = lineno; + window_copy_update_selection(wp); window_copy_redraw_screen(wp); }