Fixed clipboard watcher not watching after copying server's creds.
This commit is contained in:
parent
e12c76e424
commit
e487b8521c
@ -36,6 +36,8 @@ func (cw *ClipboardWatcher) checkInput() {
|
||||
if !cw.just_set {
|
||||
text := cw.clipboard.WaitForText()
|
||||
cw.parseData(text)
|
||||
} else {
|
||||
cw.just_set = false
|
||||
}
|
||||
}
|
||||
|
||||
@ -43,6 +45,8 @@ func (cw *ClipboardWatcher) checkPrimaryInput() {
|
||||
if !cw.just_set {
|
||||
text := cw.prim_clipboard.WaitForText()
|
||||
cw.parseData(text)
|
||||
} else {
|
||||
cw.just_set = false
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user