mirror of
https://github.com/onyx-and-iris/q3rcon.git
synced 2026-03-02 17:09:19 +00:00
print input prompt on error (for next command).
This commit is contained in:
parent
3f45588afb
commit
f74fbedacc
@ -205,6 +205,7 @@ func interactiveMode(client *q3rcon.Rcon, input io.Reader) error {
|
|||||||
resp, err := client.Send(cmd)
|
resp, err := client.Send(cmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
|
fmt.Print(">> ")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Printf("%s>> ", removeColourCodes(resp))
|
fmt.Printf("%s>> ", removeColourCodes(resp))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user