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