mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 10:33:09 +01:00
Sync OpenBSD patchset 171:
Redraw after starting selection to correctly remove any existing selection.
This commit is contained in:
parent
1141acfd4c
commit
2e4df706f6
@ -1,4 +1,4 @@
|
||||
/* $Id: window-copy.c,v 1.65 2009-07-14 06:39:10 nicm Exp $ */
|
||||
/* $Id: window-copy.c,v 1.66 2009-07-23 23:37:14 tcunha 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);
|
||||
|
Loading…
Reference in New Issue
Block a user