commit 56280f5fb48dd0d6f3261d6f94a480394d17beae
Author: Wim <wim@42.be>
Date: Wed Jun 06 00:51:42 2018 +0000
diff --git a/bridge/sshchat/sshchat.go b/bridge/sshchat/sshchat.go
index 343fc66..6e879e8 100644
--- a/bridge/sshchat/sshchat.go
+++ b/bridge/sshchat/sshchat.go
@@ -1206 +12010 @@ func (b *Bsshchat) handleSshChat() error {
wait := true
for {
if b.r.Scan() {
+ // ignore messages from ourselves
+ if !strings.Contains(b.r.Text(), "\033[K") {
+ continue
+ }
res := strings.Split(stripPrompt(b.r.Text()), ":")
if res[0] == "-> Set theme" {
wait = false