code: func stripPrompt(s string) string {
  	pos := strings.LastIndex(s, "\033[K")
  	if pos < 0 {
  		return s
  	}
  	return s[pos+3:]
  }
docs: /*
  func (b *Bsshchat) sshchatKeepAlive() chan bool {
  	done := make(chan bool)
  	go func() {
  		ticker := time.NewTicker(90 * time.Second)
  		defer ticker.Stop()
  		for {
  			select {
  			case <-ticker.C:
  				b.Log.Debugf("PING")
  				err := b.xc.PingC2S("", "")
  				if err != nil {
  					b.Log.Debugf("PING failed %#v", err)
  				}
  			case <-done:
  				return
  			}
  		}
  	}()
  	return done
  }
  */