mirror of
https://github.com/tmate-io/tmate
synced 2020-11-18 19:53:50 -08:00
make sure ssh passphrase doesn't get synced
This commit is contained in:
parent
058906c242
commit
fc46660c96
@ -215,7 +215,8 @@ void tmate_sync_copy_mode(struct window_pane *wp)
|
|||||||
|
|
||||||
pack(int, wp->id);
|
pack(int, wp->id);
|
||||||
|
|
||||||
if (wp->mode != &window_copy_mode) {
|
if (wp->mode != &window_copy_mode ||
|
||||||
|
data->inputtype == WINDOW_COPY_PASSWORD) {
|
||||||
pack(array, 0);
|
pack(array, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user