mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00: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>
|
* 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;
|
break;
|
||||||
case MODEKEYCMD_STARTSELECTION:
|
case MODEKEYCMD_STARTSELECTION:
|
||||||
window_copy_start_selection(wp);
|
window_copy_start_selection(wp);
|
||||||
|
window_copy_redraw_screen(wp);
|
||||||
break;
|
break;
|
||||||
case MODEKEYCMD_CLEARSELECTION:
|
case MODEKEYCMD_CLEARSELECTION:
|
||||||
screen_clear_selection(&data->screen);
|
screen_clear_selection(&data->screen);
|
||||||
|
Loading…
Reference in New Issue
Block a user