diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-23 17:03:47 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-23 17:03:47 +0000 |
commit | ba84ddcf8e64beac0838bbc4097ef1417e85916f (patch) | |
tree | b5f8e144407d07f85170a83e3abd5b138ad55c7d | |
parent | 895171478f61879448351160700b44e7ade6ef4b (diff) |
Redraw after starting selection to correctly remove any existing selection.
-rw-r--r-- | window-copy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/window-copy.c b/window-copy.c index 04f22a8a..aa3e670c 100644 --- a/window-copy.c +++ b/window-copy.c @@ -194,6 +194,7 @@ window_copy_key(struct window_pane *wp, struct client *c, int key) break; case MODEKEYCMD_STARTSELECTION: window_copy_start_selection(wp); + window_copy_redraw_screen(wp); break; case MODEKEYCMD_CLEARSELECTION: screen_clear_selection(&data->screen); |