diff --git a/main.go b/main.go index 5a238df..0903eb8 100644 --- a/main.go +++ b/main.go @@ -402,7 +402,6 @@ func doorHandler(ctx context.Context, c net.Conn, w *gaio.Watcher, menuwg *sync. } } if l > 0 { - log.Printf("wrote %d bytes to cmd stdin: %v\n", l, string(result.Buffer[:result.Size])) waitingForInput = false } @@ -436,7 +435,6 @@ func doorHandler(ctx context.Context, c net.Conn, w *gaio.Watcher, menuwg *sync. } if l > 0 { w.Write(ctx, c, outBuf[:l]) - log.Printf("wrote %d bytes to watcher: %v\n", l, string(outBuf[:l])) if strings.Contains(string(outBuf[:l]), ">") { // TODO: abstract out prompt string as argument to doorHandler // a prompt appeared! waitingForInput = true