mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-08 01:04:06 +01: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);
|
||||
|
||||
if (wp->mode != &window_copy_mode) {
|
||||
if (wp->mode != &window_copy_mode ||
|
||||
data->inputtype == WINDOW_COPY_PASSWORD) {
|
||||
pack(array, 0);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user