print input prompt on error (for next command).

This commit is contained in:
onyx-and-iris 2026-02-19 00:23:03 +00:00
parent 3f45588afb
commit f74fbedacc

View File

@ -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))