Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cdle committed Nov 10, 2022
1 parent 78fdaa6 commit bbce79d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"bufio"
"fmt"
"os"
"time"

Expand Down Expand Up @@ -48,15 +47,9 @@ func main() {
f := &core.Faker{
Type: "terminal",
Message: string(data),
Carry: make(chan string),
Admin: true,
}
core.Senders <- f
go func() {
for v := range f.Listen() {
fmt.Printf("\x1b[%dm%s \x1b[0m\n", 31, v)
}
}()
}
logs.Info("终端交互异常,请检查运行环境设置,如果是docker环境,请附加-it参数")
} else {
Expand Down

0 comments on commit bbce79d

Please sign in to comment.