diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-23 17:03:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-23 17:03:48 +0000 |
commit | dac4f562ad21bcc57d24dc8ecbe5732ffe1dda62 (patch) | |
tree | 852e295580fb7959ac42291127046daff5120e67 /usr.bin/tmux | |
parent | 20d6ab1517afdc5341a2bc8c80e0b259fca8a06b (diff) |
Redraw after starting selection to correctly remove any existing selection.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/window-copy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index f9afc385b44..41d3a0eb6da 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.6 2009/07/12 16:15:34 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.7 2009/07/23 17:03:47 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |