diff options
author | 2009-07-23 17:03:47 +0000 | |
---|---|---|
committer | 2009-07-23 17:03:47 +0000 | |
commit | 409638c47c6ecfec260896712bc9c3b44bb7cacc (patch) | |
tree | 9e30da5645a776b841c6907f956c57049539cce4 | |
parent | Document rdomain keyword, again from stsp@ (diff) | |
download | wireguard-openbsd-409638c47c6ecfec260896712bc9c3b44bb7cacc.tar.xz wireguard-openbsd-409638c47c6ecfec260896712bc9c3b44bb7cacc.zip |
Redraw after starting selection to correctly remove any existing selection.
-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); |