make sure ssh passphrase doesn't get synced

This commit is contained in:
Nicolas Viennot 2015-12-31 13:55:02 -05:00
parent 058906c242
commit fc46660c96

View File

@ -215,7 +215,8 @@ void tmate_sync_copy_mode(struct window_pane *wp)
pack(int, wp->id);
if (wp->mode != &window_copy_mode) {
if (wp->mode != &window_copy_mode ||
data->inputtype == WINDOW_COPY_PASSWORD) {
pack(array, 0);
return;
}