1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Redraw after starting selection to correctly remove any existing selection.

This commit is contained in:
Nicholas Marriott 2009-07-23 17:03:47 +00:00
parent 895171478f
commit ba84ddcf8e

View File

@ -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);